diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-06-22 12:44:44 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-06-22 16:04:53 -0400 |
commit | 53928c0166dcc0acceaa995edb8551b48968b5dd (patch) | |
tree | 97e6b49866626af47d0a312b7df1381cc0ef35a2 /support/export/export.c | |
parent | 8940675a20967145b37a596334c25a54804435cc (diff) | |
download | nfs-utils-53928c0166dcc0acceaa995edb8551b48968b5dd.tar.gz nfs-utils-53928c0166dcc0acceaa995edb8551b48968b5dd.tar.xz nfs-utils-53928c0166dcc0acceaa995edb8551b48968b5dd.zip |
libexport.a: Make export_add() static
Clean up: export_add() is not called from outside of export.c, so make
it a static helper.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
-rw-r--r-- | support/export/export.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/support/export/export.c b/support/export/export.c index 1800efd..eca833c 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -24,6 +24,7 @@ static int export_hash(char *); static void export_init(nfs_export *exp, nfs_client *clp, struct exportent *nep); +static void export_add(nfs_export *exp); static int export_check(const nfs_export *exp, const struct addrinfo *ai, const char *path); static nfs_export * @@ -151,10 +152,7 @@ export_dup(nfs_export *exp, const struct addrinfo *ai) return new; } -/* - * Add export entry to hash table - */ -void +static void export_add(nfs_export *exp) { exp_hash_table *p_tbl; |