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:
committed by
Carlos R. Mafra
parent
69b6848187
commit
f0c1dc9fc3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user