summaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index a5bd0e304..8545edda9 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -117,13 +117,12 @@ SPLIT_SUBDIR = 2,
117 117
118/* colored LS support by JaWi, janwillem.janssen@lxtreme.nl */ 118/* colored LS support by JaWi, janwillem.janssen@lxtreme.nl */
119#if ENABLE_FEATURE_LS_COLOR 119#if ENABLE_FEATURE_LS_COLOR
120static int show_color; 120static smallint show_color;
121/* long option entry used only for --color, which has no short option 121/* long option entry used only for --color, which has no short option
122 * equivalent */ 122 * equivalent */
123static const struct option ls_color_opt[] = { 123static const char ls_color_opt[] =
124 { "color", optional_argument, NULL, 1 }, 124 "color\0" Optional_argument "\xff" /* no short equivalent */
125 { NULL, 0, NULL, 0 } 125 "\0";
126};
127#else 126#else
128enum { show_color = 0 }; 127enum { show_color = 0 };
129#endif 128#endif