diff options
| author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-20 11:17:48 +0000 |
|---|---|---|
| committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-20 11:17:48 +0000 |
| commit | 1f0262bcdb352e9a75a4e5f48cd63d05714e2859 (patch) | |
| tree | e191e1f4019e7b0daf47f9077e375588f77b3c6a /coreutils | |
| parent | 0fa9deda1706b19e5f42ed392483a582880aaca3 (diff) | |
| download | busybox-w32-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.tar.gz busybox-w32-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.tar.bz2 busybox-w32-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.zip | |
another more const
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/ls.c | 2 | ||||
| -rw-r--r-- | coreutils/stat.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index d8d814a74..5042c1298 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
| @@ -170,7 +170,7 @@ static int show_color = 0; | |||
| 170 | 170 | ||
| 171 | /* long option entry used only for --color, which has no short option | 171 | /* long option entry used only for --color, which has no short option |
| 172 | * equivalent. */ | 172 | * equivalent. */ |
| 173 | static struct option ls_color_opt[] = | 173 | static const struct option ls_color_opt[] = |
| 174 | { | 174 | { |
| 175 | {"color", optional_argument, NULL, 1}, | 175 | {"color", optional_argument, NULL, 1}, |
| 176 | {NULL, 0, NULL, 0} | 176 | {NULL, 0, NULL, 0} |
diff --git a/coreutils/stat.c b/coreutils/stat.c index 138cc9e8b..c17b4d5e8 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
| @@ -81,9 +81,9 @@ static char const *human_time(time_t t) | |||
| 81 | static char const *human_fstype(long f_type) | 81 | static char const *human_fstype(long f_type) |
| 82 | { | 82 | { |
| 83 | int i; | 83 | int i; |
| 84 | static struct types { | 84 | static const struct types { |
| 85 | long type; | 85 | long type; |
| 86 | char *fs; | 86 | const char *fs; |
| 87 | } humantypes[] = { | 87 | } humantypes[] = { |
| 88 | { 0xADFF, "affs" }, | 88 | { 0xADFF, "affs" }, |
| 89 | { 0x1Cd1, "devpts" }, | 89 | { 0x1Cd1, "devpts" }, |
