summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-10-13 11:53:44 -0400
committerSteve Dickson <steved@redhat.com>2010-10-14 10:26:59 -0400
commit013e8ec9ffb9f28f97e58299719023faf846a029 (patch)
tree0ca3e2cb418e53b81a10195c47095a783a68e559
parent47480475c99335c1203e81662f815b62573c19e8 (diff)
downloadnfs-utils-013e8ec9ffb9f28f97e58299719023faf846a029.tar.gz
nfs-utils-013e8ec9ffb9f28f97e58299719023faf846a029.tar.xz
nfs-utils-013e8ec9ffb9f28f97e58299719023faf846a029.zip
mount.nfs: Eliminate compiler warning in utils/mount/mount.c
Clean up. mount.c: At top level: mount.c:324: warning: no previous prototype for ?mount_usage? mount_usage() has no callers outside of utils/mount/mount.c and no prototype is provided in a header file. Make it static. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index 82b9169..1c6a88f 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -321,7 +321,7 @@ static int add_mtab(char *spec, char *mount_point, char *fstype,
return result;
}
-void mount_usage(void)
+static void mount_usage(void)
{
printf(_("usage: %s remotetarget dir [-rvVwfnsih] [-o nfsoptions]\n"),
progname);