summaryrefslogtreecommitdiffstats
path: root/support/include/exportfs.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-05-05 14:42:01 -0400
committerSteve Dickson <steved@redhat.com>2010-05-05 15:42:29 -0400
commit6ff1fd42db18c657fbc5f81169a566b41d53e731 (patch)
tree46cfe63c5a09f6282fde8fd0bde9341c68cdcea2 /support/include/exportfs.h
parent9bb85c5e8d2285f82367c75df5530a71a9a5a5f2 (diff)
downloadnfs-utils-6ff1fd42db18c657fbc5f81169a566b41d53e731.tar.gz
nfs-utils-6ff1fd42db18c657fbc5f81169a566b41d53e731.tar.xz
nfs-utils-6ff1fd42db18c657fbc5f81169a566b41d53e731.zip
libexport.a: Clean up client_add()
Clean up: client_add()'s current callers never set unknown m_type values, so the m_type check is unnecessary. All of client_add()'s callers are in the same source file where it is defined, so make it a static helper function. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/exportfs.h')
-rw-r--r--support/include/exportfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h
index 9a19cbb..05891c5 100644
--- a/support/include/exportfs.h
+++ b/support/include/exportfs.h
@@ -69,7 +69,6 @@ extern exp_hash_table exportlist[MCL_MAXTYPES];
extern nfs_client * clientlist[MCL_MAXTYPES];
nfs_client * client_lookup(char *hname, int canonical);
-void client_add(nfs_client *);
nfs_client * client_dup(nfs_client *, struct hostent *);
int client_gettype(char *hname);
int client_check(nfs_client *, struct hostent *);