diff options
author | Mark Whitley <markw@lineo.com> | 2000-12-05 23:10:27 +0300 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-12-05 23:10:27 +0300 |
commit | 26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc (patch) | |
tree | 854879aef48fa3e4072fbadc566af4a3dbb86e08 /utility.c | |
parent | deb9d4d76545ac68a1df6490f0c767cc11b44741 (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.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. |