1
0
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:
Carlos R. Mafra
2010-04-12 23:31:59 +02:00
parent 62f4eff7ae
commit 4041278f48
21 changed files with 40 additions and 51 deletions

View File

@@ -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;