[hackers] [scc] [cc1] Add missed extern keyword in globals declaration || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 10 Feb 2017 20:03:37 +0100 (CET)

commit 82da1d28e44114cbe814057feada71c47c224ccf
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Feb 10 20:01:27 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Feb 10 20:02:16 2017 +0100

    [cc1] Add missed extern keyword in globals declaration

diff --git a/cc1/cc1.h b/cc1/cc1.h
index 5f7f124..73ba77f 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
_AT_@ -477,8 +477,8 @@ extern int onlycpp, onlyheader;
 extern unsigned curctx;
 extern Symbol *curfun, *zero, *one;
 extern char *infile, *outfile;
-unsigned lineno;
-char filenam[FILENAME_MAX];
+extern unsigned lineno;
+extern char filenam[FILENAME_MAX];
 
 extern Type *voidtype, *pvoidtype, *booltype,
             *uchartype, *chartype, *schartype,
Received on Fri Feb 10 2017 - 20:03:37 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 10 2017 - 20:12:20 CET