summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-04-08 10:43:49 -0400
committerSteve Dickson <steved@redhat.com>2010-04-08 11:16:17 -0400
commite8a54a3d5e32c9de009f84d1ef3f26d2dffbf226 (patch)
tree2a6f4fc095011bdc2eb60ba7bfbaf38d3b9e7be1
parent132744e9f8885254bcf213c90009d40adeb716bc (diff)
downloadnfs-utils-e8a54a3d5e32c9de009f84d1ef3f26d2dffbf226.tar.gz
nfs-utils-e8a54a3d5e32c9de009f84d1ef3f26d2dffbf226.tar.xz
nfs-utils-e8a54a3d5e32c9de009f84d1ef3f26d2dffbf226.zip
Remove some warnings that were introduced by commit 6ca440c
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--support/include/nfslib.h2
-rw-r--r--support/nfs/cacheio.c2
2 files changed, 3 insertions, 1 deletions
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;