Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-05 23:10:27 +0300
committerMark Whitley <markw@lineo.com>2000-12-05 23:10:27 +0300
commit26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc (patch)
tree854879aef48fa3e4072fbadc566af4a3dbb86e08 /utility.c
parentdeb9d4d76545ac68a1df6490f0c767cc11b44741 (diff)
Changed some #define strings to static const char [] variables. Tested ls
after changing, it worked.
Diffstat (limited to 'utility.c')
-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.