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>
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 *
return new;
}
-/*
- * Add export entry to hash table
- */
-void
+static void
export_add(nfs_export *exp)
{
exp_hash_table *p_tbl;
const char *name);
void export_read(char *fname);
-void export_add(nfs_export *);
void export_reset(nfs_export *);
nfs_export * export_lookup(char *hname, char *path, int caconical);
nfs_export * export_find(const struct addrinfo *ai,