aboutsummaryrefslogtreecommitdiff
path: root/bin/ls
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-06-06 07:14:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-06-06 07:14:01 +0000
commitfd4e4d608f4874d25e15bdf692712cb3ee26953d (patch)
tree75ad5abb9da00aad756baa208db0d6ae6fd12e90 /bin/ls
parent38782c258deaa23466313e11ebc3382fd5f21311 (diff)
Notes
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;