scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 82da1d28e44114cbe814057feada71c47c224ccf
parent 1557ce048255aed8b072675b250ecdfd6a0df0ab
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 10 Feb 2017 20:01:27 +0100

[cc1] Add missed extern keyword in globals declaration

Diffstat:
Mcc1/cc1.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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,