Просмотр исходного кода

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>
H Hartley Sweeten 14 лет назад
Родитель
Сommit
13e0e958e8
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      net/sunrpc/svcauth_unix.c

+ 1 - 0
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)