mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
wmaker: Added 'const' attribute to most local functions
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
69b6848187
commit
f0c1dc9fc3
@@ -85,7 +85,7 @@ static void menuTitleMouseDown(WCoreWindow * sender, void *data, XEvent * event)
|
||||
static void menuCloseClick(WCoreWindow * sender, void *data, XEvent * event);
|
||||
static void updateTexture(WMenu * menu);
|
||||
static int saveMenuRecurs(WMPropList * menus, WScreen * scr, WMenu * menu);
|
||||
static int restoreMenuRecurs(WScreen * scr, WMPropList * menus, WMenu * menu, char *path);
|
||||
static int restoreMenuRecurs(WScreen *scr, WMPropList *menus, WMenu *menu, const char *path);
|
||||
static void selectEntry(WMenu * menu, int entry_no);
|
||||
static void closeCascade(WMenu * menu);
|
||||
|
||||
@@ -2416,7 +2416,7 @@ static int restoreMenu(WScreen * scr, WMPropList * menu, int which)
|
||||
return False;
|
||||
}
|
||||
|
||||
static int restoreMenuRecurs(WScreen * scr, WMPropList * menus, WMenu * menu, char *path)
|
||||
static int restoreMenuRecurs(WScreen *scr, WMPropList *menus, WMenu *menu, const char *path)
|
||||
{
|
||||
WMPropList *key, *entry;
|
||||
char buffer[512];
|
||||
|
||||
Reference in New Issue
Block a user