1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48: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:
Christophe CURIS
2013-06-16 17:57:47 +02:00
committed by Carlos R. Mafra
parent 69b6848187
commit f0c1dc9fc3
10 changed files with 24 additions and 24 deletions

View File

@@ -167,7 +167,7 @@ static WMPropList *get_value(WMPropList * dict_win, WMPropList * dict_class, WMP
return default_value;
}
static WMPropList *get_value_from_instanceclass(char *value)
static WMPropList *get_value_from_instanceclass(const char *value)
{
WMPropList *key, *val = NULL;
@@ -314,7 +314,7 @@ void wDefaultFillAttributes(char *instance, char *class,
WMPLSetCaseSensitive(False);
}
static WMPropList *get_generic_value(char *instance, char *class,
static WMPropList *get_generic_value(const char *instance, const char *class,
WMPropList *option, Bool default_icon)
{
WMPropList *value, *key, *dict;