summaryrefslogtreecommitdiffstats
path: root/utils/mount/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mount/network.c')
-rw-r--r--utils/mount/network.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c
index d4ecbc9..7b1152a 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -172,9 +172,9 @@ static const unsigned long probe_mnt3_first[] = {
0,
};
-inline const unsigned int *set_default_proto(void);
+static const unsigned int *nfs_default_proto(void);
#ifdef MOUNT_CONFIG
-inline const unsigned int *set_default_proto()
+static const unsigned int *nfs_default_proto()
{
extern unsigned long config_default_proto;
/*
@@ -187,7 +187,7 @@ inline const unsigned int *set_default_proto()
return probe_tcp_first;
}
#else
-inline const unsigned int *set_default_proto()
+static const unsigned int *nfs_default_proto()
{
return probe_tcp_first;
}
@@ -633,7 +633,7 @@ static int nfs_probe_nfsport(const struct sockaddr *sap, const socklen_t salen,
if (nfs_mount_data_version >= 4) {
const unsigned int *probe_proto;
- probe_proto = set_default_proto();
+ probe_proto = nfs_default_proto();
return nfs_probe_port(sap, salen, pmap,
probe_nfs3_first, probe_proto);