From: Christophe CURIS <[email protected]>
Signed-off-by: Christophe CURIS <[email protected]>
---
util/fontconv.c | 2 +-
util/wmmenugen.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/fontconv.c b/util/fontconv.c
index 8276521..142c4c4 100644
--- a/util/fontconv.c
+++ b/util/fontconv.c
@@ -101,7 +101,7 @@ static int strToInt(str * token)
static char *mapWeightToName(str * weight)
{
- char *normalNames[] = { "medium", "normal", "regular" };
+ static const char *normalNames[] = { "medium", "normal", "regular" };
static char buf[32];
size_t i;
diff --git a/util/wmmenugen.c b/util/wmmenugen.c
index 83d9b34..2348769 100644
--- a/util/wmmenugen.c
+++ b/util/wmmenugen.c
@@ -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 WMArray *plMenuNodes;
-char *terminal;
+static const char *terminal;
extern char *__progname;
--
1.8.4.rc3
--
To unsubscribe, send mail to [email protected].