aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-05 20:10:27 +0000
committerMark Whitley <markw@lineo.com>2000-12-05 20:10:27 +0000
commit26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc (patch)
tree854879aef48fa3e4072fbadc566af4a3dbb86e08
parentdeb9d4d76545ac68a1df6490f0c767cc11b44741 (diff)
downloadbusybox-26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc.tar.gz
Changed some #define strings to static const char [] variables. Tested ls
after changing, it worked.
-rw-r--r--utility.c8
1 files 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.