]> granicus.if.org Git - nethack/commitdiff
a couple of old-style function declarations in Windows code
authornhmall <nhmall@nethack.org>
Thu, 28 Jan 2021 02:52:55 +0000 (21:52 -0500)
committernhmall <nhmall@nethack.org>
Thu, 28 Jan 2021 02:52:55 +0000 (21:52 -0500)
win/win32/mswproc.c

index 5961b31a3c6c839933a799de7f900b21d4f443ba..35083c5b9f0d6b4af1cfb1c782dc85fc2f727bdd 100644 (file)
@@ -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;