Address this warning: main.c:74:6: warning: symbol 'fedfsd_usage' was not declared. Should it be static?
Introduced by commit 0520ee72 "Initial commit" March 29, 2011. Signed-off-by: Chuck Lever <[email protected]> --- src/fedfsd/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/fedfsd/main.c b/src/fedfsd/main.c index fd6bee5..59cb12a 100644 --- a/src/fedfsd/main.c +++ b/src/fedfsd/main.c @@ -71,7 +71,7 @@ static const struct option fedfsd_longopts[] = * * @param progname NUL-terminated C string containing name of program */ -void fedfsd_usage(const char *progname) +static void fedfsd_usage(const char *progname) { fprintf(stderr, "\nUsage: %s [options]\n\n", progname); _______________________________________________ fedfs-utils-devel mailing list [email protected] https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel
