mountd: eliminate a spurious compiler warning
authorChuck Lever <chuck.lever@oracle.com>
Thu, 11 Oct 2007 20:52:01 +0000 (16:52 -0400)
committerNeil Brown <neilb@suse.de>
Thu, 11 Oct 2007 23:05:30 +0000 (09:05 +1000)
auth.c:61: warning: function declaration isn’t a prototype

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mountd/auth.c

index a821c13..3c9a89a 100644 (file)
@@ -57,7 +57,7 @@ auth_init(char *exports)
  * expense of larger kernel caches.
  */
 static void
-check_useipaddr()
+check_useipaddr(void)
 {
        nfs_client *clp;
        int old_use_ipaddr = use_ipaddr;