mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-01 19:42:32 +01:00
util: Added 'const' attribute to function parameters
This commit is contained in:
committed by
Carlos R. Mafra
parent
d44aa97243
commit
5d03c455fc
@@ -152,7 +152,7 @@ void print_help(int print_usage, int exitval)
|
||||
exit(exitval);
|
||||
}
|
||||
|
||||
static Bool isFontOption(char *option)
|
||||
static Bool isFontOption(const char *option)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -165,7 +165,7 @@ static Bool isFontOption(char *option)
|
||||
return False;
|
||||
}
|
||||
|
||||
void findCopyFile(char *dir, char *file)
|
||||
void findCopyFile(const char *dir, const char *file)
|
||||
{
|
||||
char *fullPath;
|
||||
|
||||
@@ -179,7 +179,7 @@ void findCopyFile(char *dir, char *file)
|
||||
free(fullPath);
|
||||
}
|
||||
|
||||
void makeThemePack(WMPropList * style, char *themeName)
|
||||
void makeThemePack(WMPropList * style, const char *themeName)
|
||||
{
|
||||
WMPropList *keys;
|
||||
WMPropList *key;
|
||||
|
||||
Reference in New Issue
Block a user