Mercurial > hg > index.cgi
comparison lwasm/pass1.c @ 374:8e25147c2aa8
Clean up various "externs"
Apparently some compilers seriously choke on the "extern" keyword in some
circumstances where GCC does not. Remove most instances of "extern" to guard
against that.
Thanks to Erik G <erik@6809.org> for the patch.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 20:31:56 -0600 |
parents | 2593fd529be5 |
children | 71f507f404f1 |
comparison
equal
deleted
inserted
replaced
373:00fced888c5d | 374:8e25147c2aa8 |
---|---|
29 | 29 |
30 #include "lwasm.h" | 30 #include "lwasm.h" |
31 #include "instab.h" | 31 #include "instab.h" |
32 #include "input.h" | 32 #include "input.h" |
33 | 33 |
34 extern int expand_macro(asmstate_t *as, line_t *l, char **p, char *opc); | 34 int expand_macro(asmstate_t *as, line_t *l, char **p, char *opc); |
35 extern int expand_struct(asmstate_t *as, line_t *l, char **p, char *opc); | 35 int expand_struct(asmstate_t *as, line_t *l, char **p, char *opc); |
36 extern int add_macro_line(asmstate_t *as, char *optr); | 36 int add_macro_line(asmstate_t *as, char *optr); |
37 | 37 |
38 /* | 38 /* |
39 pass 1: parse the lines | 39 pass 1: parse the lines |
40 | 40 |
41 line format: | 41 line format: |