mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
wmaker: Added 'const' attribute to most global functions
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
f0c1dc9fc3
commit
9b5db31d95
@@ -667,7 +667,7 @@ static void newWSCommand(WMenu *menu, WMenuEntry *foo)
|
||||
wWorkspaceChange(menu->frame->screen_ptr, ws);
|
||||
}
|
||||
|
||||
void wWorkspaceRename(WScreen * scr, int workspace, char *name)
|
||||
void wWorkspaceRename(WScreen *scr, int workspace, const char *name)
|
||||
{
|
||||
char buf[MAX_WORKSPACENAME_WIDTH + 1];
|
||||
char *tmp;
|
||||
@@ -923,7 +923,7 @@ void wWorkspaceRestoreState(WScreen *scr)
|
||||
}
|
||||
|
||||
/* Returns the workspace number for a given workspace name */
|
||||
int wGetWorkspaceNumber(WScreen * scr, char * value)
|
||||
int wGetWorkspaceNumber(WScreen *scr, const char *value)
|
||||
{
|
||||
int w, i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user