[hackers] [scc] [cc2] Move curfun declaration to globals section || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 22 Apr 2016 15:37:32 +0200 (CEST)

commit 71ca53670b19bf2bfcf6fa63824095fb9780b771
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Apr 22 15:36:46 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Apr 22 15:36:46 2016 +0200

    [cc2] Move curfun declaration to globals section

diff --git a/cc2/cc2.h b/cc2/cc2.h
index 496a64f..faf2e92 100644
--- a/cc2/cc2.h
+++ b/cc2/cc2.h
_AT_@ -208,7 +208,6 @@ extern void cleannodes(void);
 extern void delnode(Node *np);
 extern void deltree(Node *np);
 extern Node *newnode(void);
-extern Symbol *curfun;
 
 /* symbol.c */
 #define TMPSYM 0
_AT_@ -218,5 +217,6 @@ extern void pushctx(void);
 extern void freesym(Symbol *sym);
 
 /* globals */
+extern Symbol *curfun;
 extern Symbol *locals;
 extern Inst *pc, *prog;
Received on Fri Apr 22 2016 - 15:37:32 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 22 2016 - 15:48:17 CEST