From 013e8ec9ffb9f28f97e58299719023faf846a029 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Wed, 13 Oct 2010 11:53:44 -0400 Subject: [PATCH] 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 --- utils/mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5