From: H Hartley Sweeten Date: Tue, 21 Jun 2011 01:19:12 +0000 (-0700) Subject: svcauth_unix.c: quiet sparse noise X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13e0e958e8e06d27a2c69b2ace8c11d256b52d67;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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)