1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

utils: Added a few missing attributes to local variables

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-11-23 18:14:06 +01:00
committed by Carlos R. Mafra
parent c16c1a32af
commit 23ac316d1e
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ static int strToInt(str * token)
static char *mapWeightToName(str * weight) static char *mapWeightToName(str * weight)
{ {
char *normalNames[] = { "medium", "normal", "regular" }; static const char *normalNames[] = { "medium", "normal", "regular" };
static char buf[32]; static char buf[32];
size_t i; size_t i;

View File

@@ -41,7 +41,7 @@ static void (*parse)(const char *file, void (*addWMMenuEntryCallback)(WMMenuEntr
static Bool (*validateFilename)(const char *filename, const struct stat *st, int tflags, struct FTW *ftw); static Bool (*validateFilename)(const char *filename, const struct stat *st, int tflags, struct FTW *ftw);
static WMArray *plMenuNodes; static WMArray *plMenuNodes;
char *terminal; static const char *terminal;
extern char *__progname; extern char *__progname;