From: Steve Dickson Date: Thu, 8 Apr 2010 14:43:49 +0000 (-0400) Subject: Remove some warnings that were introduced by commit 6ca440c X-Git-Tag: nfs-utils-1-2-3-rc2~18 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e8a54a3d5e32c9de009f84d1ef3f26d2dffbf226;p=nfs-utils.git Remove some warnings that were introduced by commit 6ca440c Signed-off-by: Steve Dickson --- diff --git a/support/include/nfslib.h b/support/include/nfslib.h index 537a31e..e44cf8f 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -152,6 +152,8 @@ void qword_addhex(char **bpp, int *lp, char *buf, int blen); void qword_addint(char **bpp, int *lp, int n); void qword_adduint(char **bpp, int *lp, unsigned int n); void qword_addeol(char **bpp, int *lp); +int qword_get_uint(char **bpp, unsigned int *anint); +void qword_printuint(FILE *f, unsigned int num); void closeall(int min); diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c index 0587ecb..55fa45d 100644 --- a/support/nfs/cacheio.c +++ b/support/nfs/cacheio.c @@ -241,7 +241,7 @@ int qword_get_int(char **bpp, int *anint) return 0; } -int qword_get_uint(char *bpp, unsigned int *anint) +int qword_get_uint(char **bpp, unsigned int *anint) { char buf[50]; char *ep;