From: Chuck Lever Date: Wed, 13 Oct 2010 15:53:44 +0000 (-0400) Subject: mount.nfs: Eliminate compiler warning in utils/mount/mount.c X-Git-Tag: nfs-utils-1-2-4-rc1~10 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=013e8ec9ffb9f28f97e58299719023faf846a029 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 Signed-off-by: Steve Dickson --- 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);