diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-06-20 18:19:12 -0700 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-15 18:58:44 -0400 |
commit | 13e0e958e8e06d27a2c69b2ace8c11d256b52d67 (patch) | |
tree | ea4cba9d6b87abccf9290111226e3ac7cf9edda6 /net/sunrpc/svcauth_unix.c | |
parent | 177e4f998bb3a1a723d1ad200e9a7c7c20490f17 (diff) | |
download | op-kernel-dev-13e0e958e8e06d27a2c69b2ace8c11d256b52d67.zip op-kernel-dev-13e0e958e8e06d27a2c69b2ace8c11d256b52d67.tar.gz |
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/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 31b9dea..ce13632 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) |