aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-03-07 00:23:12 -0500
committerJeff Garzik <jgarzik@pobox.com>2011-03-07 00:23:12 -0500
commit6b19b15aa97d8bfba7c5feb52d857a1b51b1e6d4 (patch)
tree96493dbd9e4475069b1269dc75b3056d27cd3ed9 /miner.h
parent96d2287c722e4566fd30271c76869f83831e86c2 (diff)
Fix warnings in sse2_64 implementation.
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/miner.h b/miner.h
index 3468501..68adf47 100644
--- a/miner.h
+++ b/miner.h
@@ -99,6 +99,10 @@ extern bool scanhash_asm32(const unsigned char *midstate,unsigned char *data,
unsigned char *hash1, unsigned char *hash,
const unsigned char *target,
uint32_t max_nonce, unsigned long *hashes_done);
+extern int scanhash_sse2_64(const unsigned char *pmidstate, unsigned char *pdata,
+ unsigned char *phash1, unsigned char *phash,
+ const unsigned char *ptarget,
+ uint32_t max_nonce, unsigned long *nHashesDone);
extern int
timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y);