summaryrefslogtreecommitdiffstats
path: root/support/include/nfslib.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-10-30 14:02:24 -0400
committerSteve Dickson <steved@redhat.com>2012-10-30 15:30:08 -0400
commit7df8ca883bfd668eb559ea1b8da7c7b6e41d5b1a (patch)
tree8ac19398a9320d05e561e6ca5412dc67ae3cb623 /support/include/nfslib.h
parent6d9909afd0cf82332a0095aa201e515d1a159c97 (diff)
downloadnfs-utils-7df8ca883bfd668eb559ea1b8da7c7b6e41d5b1a.tar.gz
nfs-utils-7df8ca883bfd668eb559ea1b8da7c7b6e41d5b1a.tar.xz
nfs-utils-7df8ca883bfd668eb559ea1b8da7c7b6e41d5b1a.zip
mountd: Avoid unnecessary type conversions
Removed a number of Wconversion warnings in the mountd code. Took the opportunity to eliminate some code duplication. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfslib.h')
-rw-r--r--support/include/nfslib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index 73f3c20..f210a06 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -164,6 +164,7 @@ 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 qword_printtimefrom(FILE *f, unsigned int num);
void closeall(int min);