summaryrefslogtreecommitdiffstats
path: root/utils/mountd/mountd.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-09-16 14:19:19 -0400
committerSteve Dickson <steved@redhat.com>2010-09-16 14:33:51 -0400
commitffe8c9a084fec4fdd3acfcf4b36fbe434d297b82 (patch)
treeb8f25a31e32ad85b3a7a907e3b32244514b6e526 /utils/mountd/mountd.c
parent6f189dae5eb38800c8ae3e2d5c098d11fb44d7d5 (diff)
downloadnfs-utils-ffe8c9a084fec4fdd3acfcf4b36fbe434d297b82.tar.gz
nfs-utils-ffe8c9a084fec4fdd3acfcf4b36fbe434d297b82.tar.xz
nfs-utils-ffe8c9a084fec4fdd3acfcf4b36fbe434d297b82.zip
mountd: clean up cache API
Clean up: Squelch compiler warnings and document public parts of cache API. cache.c: At top level: cache.c:67: warning: no previous prototype for auth_unix_ip cache.c:123: warning: no previous prototype for auth_unix_gid cache.c:217: warning: no previous prototype for get_uuid cache.c:247: warning: no previous prototype for uuid_by_path cache.c:326: warning: no previous prototype for nfsd_fh cache.c:745: warning: no previous prototype for nfsd_export cache.c:820: warning: no previous prototype for cache_open cache.c:832: warning: no previous prototype for cache_set_fd cache.c:841: warning: no previous prototype for cache_process_req cache.c:921: warning: no previous prototype for cache_export cache.c:953: warning: no previous prototype for cache_get_filehandle Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mountd/mountd.c')
-rw-r--r--utils/mountd/mountd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c
index 98b396d..982b06e 100644
--- a/utils/mountd/mountd.c
+++ b/utils/mountd/mountd.c
@@ -28,10 +28,6 @@
#include "rpcmisc.h"
#include "pseudoflavors.h"
-extern void cache_open(void);
-extern struct nfs_fh_len *cache_get_filehandle(nfs_export *exp, int len, char *p);
-extern int cache_export(nfs_export *exp, char *path);
-
extern void my_svc_run(void);
static void usage(const char *, int exitcode);