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

@@ -81,7 +81,7 @@ static void focusWindow(WMenu * menu, WMenuEntry * entry)
}
}
void InitializeSwitchMenu()
void InitializeSwitchMenu(void)
{
if (!initialized) {
initialized = 1;
@@ -357,7 +357,7 @@ void UpdateSwitchMenu(WScreen * scr, WWindow * wwin, int action)
wMenuPaint(switchmenu);
}
void UpdateSwitchMenuWorkspace(WScreen * scr, int workspace)
static void UpdateSwitchMenuWorkspace(WScreen *scr, int workspace)
{
WMenu *menu = scr->switch_menu;
int i;