aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/miner.h b/miner.h
index b4cc939..69c56a7 100644
--- a/miner.h
+++ b/miner.h
@@ -16,6 +16,9 @@ extern bool hex2bin(unsigned char *p, const char *hexstr, size_t len);
extern unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate,
unsigned char *pdata, unsigned char *phash1, unsigned char *phash,
- unsigned int *nHashesDone);
+ unsigned long *nHashesDone);
+
+extern int
+timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y);
#endif /* __MINER_H__ */