mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61322
@ -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 New Issue
Block a user