mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
Move colorquit() prototype to extern.h
Add "extern" to variables declarations in extern.h to not make them commons into each compiled file.
This commit is contained in:
parent
38782c258d
commit
fd4e4d608f
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue