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