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-w32-26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc.tar.gz
busybox-w32-26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc.tar.bz2
busybox-w32-26a3adb24490ed4f6b9e8a9a1886846d4f8d90dc.zip
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[] = {
482 S_IROTH, S_IWOTH, S_IXOTH 482 S_IROTH, S_IWOTH, S_IXOTH
483}; 483};
484 484
485#define MODE1 "rwxrwxrwx" 485static const char MODE1[] = "rwxrwxrwx";
486#define MODE0 "---------" 486static const char MODE0[] = "---------";
487#define SMODE1 "..s..s..t" 487static const char SMODE1[] = "..s..s..t";
488#define SMODE0 "..S..S..T" 488static const char SMODE0[] = "..S..S..T";
489 489
490/* 490/*
491 * Return the standard ls-like mode string from a file mode. 491 * Return the standard ls-like mode string from a file mode.