diff options
author | Mark Whitley <markw@lineo.com> | 2000-12-05 20:10:27 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-12-05 20:10:27 +0000 |
commit | 26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc (patch) | |
tree | 854879aef48fa3e4072fbadc566af4a3dbb86e08 | |
parent | deb9d4d76545ac68a1df6490f0c767cc11b44741 (diff) | |
download | busybox-26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc.tar.gz |
Changed some #define strings to static const char [] variables. Tested ls
after changing, it worked.
-rw-r--r-- | utility.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |