Browse Source

Staging: lustre: lnet: selftest: Made a function static.

The following patch makes a function static as it was not used by other
files and not declared in the same file.
It fixes the following warning:
WARNING: symbol 'lstcon_init_acceptor_service' was not declared. Should
it be static?

The above warning was given by sparse.

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Heena Sirwani 11 years ago
parent
commit
28f54a8613
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/lustre/lnet/selftest/console.c

+ 1 - 1
drivers/staging/lustre/lnet/selftest/console.c

@@ -1977,7 +1977,7 @@ out:
 }
 
 srpc_service_t lstcon_acceptor_service;
-void lstcon_init_acceptor_service(void)
+static void lstcon_init_acceptor_service(void)
 {
 	/* initialize selftest console acceptor service table */
 	lstcon_acceptor_service.sv_name    = "join session";