From: H Hartley Sweeten Date: Tue, 21 Jun 2011 01:19:12 +0000 (-0700) Subject: svcauth_unix.c: quiet sparse noise X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=13e0e958e8e06d27a2c69b2ace8c11d256b52d67;p=linux-edison.git 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 Cc: Trond Myklebust Cc: "J. Bruce Fields" Cc: Neil Brown Cc: "David S. Miller" Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 31b9dea1bed..ce136323da8 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)