Changed some #define strings to static const char [] variables. Tested ls
after changing, it worked.
diff --git a/utility.c b/utility.c
index 52a2eb7..554ad1b 100644
--- a/utility.c
+++ b/utility.c
@@ -482,10 +482,10 @@
S_IROTH, S_IWOTH, S_IXOTH
};
-#define MODE1 "rwxrwxrwx"
-#define MODE0 "---------"
-#define SMODE1 "..s..s..t"
-#define SMODE0 "..S..S..T"
+static const char MODE1[] = "rwxrwxrwx";
+static const char MODE0[] = "---------";
+static const char SMODE1[] = "..s..s..t";
+static const char SMODE0[] = "..S..S..T";
/*
* Return the standard ls-like mode string from a file mode.