]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 a821c131bf3e3d494cbd556d594527f5380a95da..3c9a89a94dcdc7de5f76e175909ebf770c0d3304 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;