From 26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Tue, 5 Dec 2000 20:10:27 +0000 Subject: [PATCH] Changed some #define strings to static const char [] variables. Tested ls after changing, it worked. --- utility.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utility.c b/utility.c index 52a2eb7c2..554ad1b88 100644 --- a/utility.c +++ b/utility.c @@ -482,10 +482,10 @@ static const mode_t MBIT[] = { 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.