From f01b4f0bf0390bd864f81f231441e994c7d49d8b Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 27 Jan 2021 21:52:55 -0500 Subject: [PATCH] a couple of old-style function declarations in Windows code --- win/win32/mswproc.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; -- 2.50.1