svcauth_unix.c: quiet sparse noise
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 21 Jun 2011 01:19:12 +0000 (18:19 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Jul 2011 22:58:44 +0000 (18:58 -0400)
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>
net/sunrpc/svcauth_unix.c

index 31b9dea..ce13632 100644 (file)
@@ -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)