commit 82da1d28e44114cbe814057feada71c47c224ccf
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Feb 10 20:01:27 2017 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
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
@@ -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,

Reply via email to