mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Address some sparse warnings
Plain integer as NULL pointer, non-ANSI function declaration etc.
This commit is contained in:
@@ -72,7 +72,7 @@ static void putidef(char *line, char *name, int value)
|
||||
strcat(line, tmp);
|
||||
}
|
||||
|
||||
static char *username()
|
||||
static char *username(void)
|
||||
{
|
||||
char *tmp;
|
||||
|
||||
@@ -235,7 +235,7 @@ Bool wGetIconName(Display *dpy, Window win, char **iconname)
|
||||
return False;
|
||||
}
|
||||
|
||||
static void eatExpose()
|
||||
static void eatExpose(void)
|
||||
{
|
||||
XEvent event, foo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user