summaryrefslogtreecommitdiffstats
path: root/bin/ls/extern.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-06-06 07:14:01 +0000
committerache <ache@FreeBSD.org>2000-06-06 07:14:01 +0000
commit8f5fd01ed689cbf04297e38f5cfdbe08dc330762 (patch)
tree32e499c48559245c0536e249cc85e2db8d6becc0 /bin/ls/extern.h
parent1b57c1627cd95f6a8b7ea5bc85f15e6254320c4f (diff)
downloadFreeBSD-src-8f5fd01ed689cbf04297e38f5cfdbe08dc330762.zip
FreeBSD-src-8f5fd01ed689cbf04297e38f5cfdbe08dc330762.tar.gz
Move colorquit() prototype to extern.h
Add "extern" to variables declarations in extern.h to not make them commons into each compiled file.
Diffstat (limited to 'bin/ls/extern.h')
-rw-r--r--bin/ls/extern.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ls/extern.h b/bin/ls/extern.h
index 5f063cd..9ba00ee 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
OpenPOWER on IntegriCloud