irc/scrollz: Fix build with -fno-common

Fix the build of irc/scrolls with built with -fno-common, which is the
default with llvm 11.
Patch from a pull request to scrollz on github.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
This commit is contained in:
Niclas Zeising 2020-08-22 14:17:09 +00:00
parent 1daa16d402
commit c03f82ecb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545768

View File

@ -0,0 +1,16 @@
diff --git a/include/ircterm.h b/include/ircterm.h
index 1fdbfeb..1da3fab 100644
--- include/ircterm.h
+++ include/ircterm.h
@@ -89,9 +89,9 @@ extern char *CM,
extern int SG;
/**************************** PATCHED by Flier ******************************/
#ifdef WANTANSI
-char *SETAF,
+extern char *SETAF,
*SETAB;
-int NUMCOLORS;
+extern int NUMCOLORS;
#endif /* WANTANSI */
/****************************************************************************/