aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-06-20 21:19:12 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-07-15 18:58:44 -0400
commit13e0e958e8e06d27a2c69b2ace8c11d256b52d67 (patch)
treeea4cba9d6b87abccf9290111226e3ac7cf9edda6 /net/sunrpc
parent177e4f998bb3a1a723d1ad200e9a7c7c20490f17 (diff)
svcauth_unix.c: quiet sparse noise
Like svcauth_unix, the symbol svcauth_null is used external from this file. Declare it as extern to quiet the following sparse noise: warning: symbol 'svcauth_null' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Neil Brown <neilb@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svcauth_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 31b9dea1bedd..ce136323da8b 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -33,6 +33,7 @@ struct unix_domain {
33 /* other stuff later */ 33 /* other stuff later */
34}; 34};
35 35
36extern struct auth_ops svcauth_null;
36extern struct auth_ops svcauth_unix; 37extern struct auth_ops svcauth_unix;
37 38
38static void svcauth_unix_domain_release(struct auth_domain *dom) 39static void svcauth_unix_domain_release(struct auth_domain *dom)