]> granicus.if.org Git - nethack/commitdiff
quiet a new visual studio compiler complaint from recent code change
authornhmall <nhmall@nethack.org>
Sat, 1 Sep 2018 19:07:19 +0000 (15:07 -0400)
committernhmall <nhmall@nethack.org>
Sat, 1 Sep 2018 19:07:19 +0000 (15:07 -0400)
..\src\hack.c(2553): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(void)'

src/hack.c

index 2eb45803b670e298a0d1b41690e00db8dcad09f7..cb92b93ad71c06452a2200a4b6cc22c14503575c 100644 (file)
@@ -2545,7 +2545,7 @@ pickup_checks()
 
 /* the ',' command */
 int
-dopickup()
+dopickup(VOID_ARGS)
 {
     int count, tmpcount, ret;