From: nhmall Date: Thu, 28 Jan 2021 02:52:55 +0000 (-0500) Subject: a couple of old-style function declarations in Windows code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f01b4f0bf0390bd864f81f231441e994c7d49d8b;p=nethack a couple of old-style function declarations in Windows code --- diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index 5961b31a3..35083c5b9 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -3002,9 +3002,7 @@ mswin_status_enablefield(int fieldidx, const char *nm, const char *fmt, /* TODO: turn this into a commmon helper; multiple identical implementations */ static int -mswin_condcolor(bm, bmarray) -long bm; -unsigned long *bmarray; +mswin_condcolor(long bm, unsigned long *bmarray) { int i; @@ -3017,9 +3015,7 @@ unsigned long *bmarray; } static int -mswin_condattr(bm, bmarray) -long bm; -unsigned long *bmarray; +mswin_condattr(long bm, unsigned long *bmarray) { if (bm && bmarray) { if (bm & bmarray[HL_ATTCLR_DIM]) return HL_DIM;