From 429288cac9a08cf53ab67b291bbcce842bd24929 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 4 Oct 2017 12:21:05 -0400 Subject: [PATCH] first build in a long while, clear up a warning ..\src\options.c(4005) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(void)' --- src/botl.c | 2 +- src/options.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/botl.c b/src/botl.c index 19ed8c973..ca6c494cf 100644 --- a/src/botl.c +++ b/src/botl.c @@ -2334,7 +2334,7 @@ int fld; } int -count_status_hilites() +count_status_hilites(VOID_ARGS) { int count; status_hilite_linestr_gather(); diff --git a/src/options.c b/src/options.c index 98afaa325..59f6fc4e4 100644 --- a/src/options.c +++ b/src/options.c @@ -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); } -- 2.40.0