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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user