Mercurial > hg > index.cgi
comparison lwasm/pseudo.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 | 8764142b3192 |
children | d791d47afc48 |
comparison
equal
deleted
inserted
replaced
373:00fced888c5d | 374:8e25147c2aa8 |
---|---|
32 #include "instab.h" | 32 #include "instab.h" |
33 #include "input.h" | 33 #include "input.h" |
34 | 34 |
35 #include "lw_string.h" | 35 #include "lw_string.h" |
36 | 36 |
37 extern void register_struct_entry(asmstate_t *as, line_t *l, int size, structtab_t *ss); | 37 void register_struct_entry(asmstate_t *as, line_t *l, int size, structtab_t *ss); |
38 | 38 |
39 // for "dts" | 39 // for "dts" |
40 PARSEFUNC(pseudo_parse_dts) | 40 PARSEFUNC(pseudo_parse_dts) |
41 { | 41 { |
42 time_t tp; | 42 time_t tp; |