aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-12-23 20:21:00 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-12-23 20:21:00 -0500
commitd88648dd3952f4ea2f9aad135710e9f106fe85c4 (patch)
tree714f8ab8aaab9c0ec7710c72d7c90cede380c060 /miner.h
parent309d1bdc16de5267aee5b13791907c93b69c8be6 (diff)
sha256_via: ensure that found nonce is copied back into output data buffer
Also, some minor cleanups, removing unused args.
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/miner.h b/miner.h
index b77bf0d..fc0fe5a 100644
--- a/miner.h
+++ b/miner.h
@@ -34,9 +34,7 @@ extern unsigned int ScanHash_4WaySSE2(const unsigned char *pmidstate,
unsigned char *pdata, unsigned char *phash1, unsigned char *phash,
unsigned long *nHashesDone);
-extern bool scanhash_via(const unsigned char *midstate, const unsigned char *data_in,
- unsigned char *hash1, unsigned char *hash,
- unsigned long *hashes_done);
+extern bool scanhash_via(unsigned char *data_inout, unsigned long *hashes_done);
extern bool scanhash_c(const unsigned char *midstate, unsigned char *data,
unsigned char *hash1, unsigned char *hash,