commit f089efb927e64fab733dc62d3e5627c832269cef
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Aug 6 08:18:12 2015 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Aug 6 08:18:12 2015 +0200

    Move zero and one declaration to cc1.h

diff --git a/cc1/cc1.h b/cc1/cc1.h
index 5c0b281..ce3a2cc 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -351,7 +351,7 @@ extern unsigned cppctx;
 extern Input *input;
 extern int lexmode;
 extern unsigned curctx;
-extern Symbol *curfun;
+extern Symbol *curfun, *zero, *one;
 
 extern Type *voidtype, *pvoidtype, *booltype,
             *uchartype,   *chartype,
diff --git a/cc1/expr.c b/cc1/expr.c
index 015c0fb..047c06e 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -6,7 +6,6 @@
 #include "../inc/cc.h"
 #include "cc1.h"
 
-extern Symbol *zero, *one;
 
 Node *expr(void);
 
diff --git a/cc1/stmt.c b/cc1/stmt.c
index 47db215..f06a812 100644
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
@@ -60,7 +60,6 @@ static Node *
 condition(void)
 {
        extern jmp_buf recover;
-       extern Symbol *zero;
        Node *np;
 
        expect('(');

Reply via email to