]> granicus.if.org Git - nethack/commitdiff
first build in a long while, clear up a warning
authornhmall <mjnh@persona.ca>
Wed, 4 Oct 2017 16:21:05 +0000 (12:21 -0400)
committernhmall <mjnh@persona.ca>
Wed, 4 Oct 2017 16:21:05 +0000 (12:21 -0400)
..\src\options.c(4005) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(void)'

src/botl.c
src/options.c

index 19ed8c9733c36c691a23fd5bbce03e9884e1da05..ca6c494cfc1102a9aee05b5d8c2af090496b9814 100644 (file)
@@ -2334,7 +2334,7 @@ int fld;
 }
 
 int
-count_status_hilites()
+count_status_hilites(VOID_ARGS)
 {
     int count;
     status_hilite_linestr_gather();
index 98afaa325dd610b3f485f46fd0b981212b32a582..59f6fc4e40b5d7bcee6efaa19e4de21a6f1512d1 100644 (file)
@@ -1593,7 +1593,7 @@ int hide_mask;
 }
 
 STATIC_OVL int
-msgtype_count()
+msgtype_count(VOID_ARGS)
 {
     int c = 0;
     struct plinemsg_type *tmp = plinemsg_types;
@@ -1791,7 +1791,7 @@ int idx; /* 0 .. */
 }
 
 STATIC_OVL int
-count_menucolors()
+count_menucolors(VOID_ARGS)
 {
     int count = 0;
     struct menucoloring *tmp = menu_colorings;
@@ -3975,7 +3975,7 @@ int nset;
 }
 
 int
-count_apes()
+count_apes(VOID_ARGS)
 {
     return count_ape_maps((int *) 0, (int *) 0);
 }