aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-11-20 21:30:58 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-11-20 21:30:58 +0000
commitebf654893c0753be155bef5282e11bf0b91736bb (patch)
tree5134094c11a4203762df0de13c9f0447d7c33193 /include
parent89a61f278c5e62ff638e24e589cec9c551309257 (diff)
downloadbusybox-w32-ebf654893c0753be155bef5282e11bf0b91736bb.tar.gz
busybox-w32-ebf654893c0753be155bef5282e11bf0b91736bb.tar.bz2
busybox-w32-ebf654893c0753be155bef5282e11bf0b91736bb.zip
Dont over-read fd, use function pointer for hash function.
git-svn-id: svn://busybox.net/trunk/busybox@7974 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 88f43d01c..22a77e610 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -479,7 +479,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags);
479 479
480#define HASH_SHA1 1 480#define HASH_SHA1 1
481#define HASH_MD5 2 481#define HASH_MD5 2
482extern int hash_fd(int fd, const off_t size, const uint8_t hash_algo, uint8_t *hashval); 482extern int hash_fd(int fd, const size_t size, const uint8_t hash_algo, uint8_t *hashval);
483 483
484 484
485#endif /* __LIBCONFIG_H__ */ 485#endif /* __LIBCONFIG_H__ */