1
0
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:
Christophe CURIS
2013-05-12 00:24:37 +02:00
committed by Carlos R. Mafra
parent d44aa97243
commit 5d03c455fc
8 changed files with 27 additions and 27 deletions

View File

@@ -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;