aboutsummaryrefslogtreecommitdiff
path: root/bin/ls
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/extern.h7
-rw-r--r--bin/ls/ls.c1
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/ls/extern.h b/bin/ls/extern.h
index 5f063cdbc8ca..9ba00ee722e3 100644
--- a/bin/ls/extern.h
+++ b/bin/ls/extern.h
@@ -53,8 +53,9 @@ int len_octal __P((char *, int));
int prn_octal __P((char *));
#ifdef COLORLS
void parsecolors __P((char *cs));
+void colorquit __P((int));
-char *ansi_fgcol;
-char *ansi_bgcol;
-char *ansi_coloff;
+extern char *ansi_fgcol;
+extern char *ansi_bgcol;
+extern char *ansi_coloff;
#endif
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index 9bda2b1e1bd8..84bc7308ef2f 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -121,7 +121,6 @@ int f_color; /* add type in color for non-regular files */
char *ansi_bgcol; /* ANSI sequence to set background colour */
char *ansi_fgcol; /* ANSI sequence to set foreground colour */
char *ansi_coloff; /* ANSI sequence to reset colours */
-extern void colorquit __P((int));
#endif
int rval;