mount.nfs: Eliminate compiler warning in utils/mount/mount.c
authorChuck Lever <chuck.lever@oracle.com>
Wed, 13 Oct 2010 15:53:44 +0000 (11:53 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 14 Oct 2010 14:26:59 +0000 (10:26 -0400)
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>
utils/mount/mount.c

index 82b9169..1c6a88f 100644 (file)
@@ -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);