summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-06-21 05:19:12 +0400
committerJ. Bruce Fields <bfields@redhat.com>2011-07-16 02:58:44 +0400
commit13e0e958e8e06d27a2c69b2ace8c11d256b52d67 (patch)
treeea4cba9d6b87abccf9290111226e3ac7cf9edda6 /net
parent177e4f998bb3a1a723d1ad200e9a7c7c20490f17 (diff)
downloadlinux-13e0e958e8e06d27a2c69b2ace8c11d256b52d67.tar.xz
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')
-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 {
/* other stuff later */
};
+extern struct auth_ops svcauth_null;
extern struct auth_ops svcauth_unix;
static void svcauth_unix_domain_release(struct auth_domain *dom)