a couple of old-style function declarations in Windows code
This commit is contained in:
+2
-6
@@ -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 */
|
/* TODO: turn this into a commmon helper; multiple identical implementations */
|
||||||
static int
|
static int
|
||||||
mswin_condcolor(bm, bmarray)
|
mswin_condcolor(long bm, unsigned long *bmarray)
|
||||||
long bm;
|
|
||||||
unsigned long *bmarray;
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@@ -3017,9 +3015,7 @@ unsigned long *bmarray;
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
mswin_condattr(bm, bmarray)
|
mswin_condattr(long bm, unsigned long *bmarray)
|
||||||
long bm;
|
|
||||||
unsigned long *bmarray;
|
|
||||||
{
|
{
|
||||||
if (bm && bmarray) {
|
if (bm && bmarray) {
|
||||||
if (bm & bmarray[HL_ATTCLR_DIM]) return HL_DIM;
|
if (bm & bmarray[HL_ATTCLR_DIM]) return HL_DIM;
|
||||||
|
|||||||
Reference in New Issue
Block a user