diff mbox

[07/11] fedfsd: Address sparse warning in rpc.fedfsd

Message ID 20121019210837.53119.21327.stgit@seurat.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Oct. 19, 2012, 9:08 p.m. UTC
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 <chuck.lever@oracle.com>
---

 src/fedfsd/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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);