Mercurial > hg > index.cgi
diff 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 |
line wrap: on
line diff
--- a/lwasm/pseudo.c Wed Jun 24 19:39:13 2015 -0600 +++ b/lwasm/pseudo.c Mon Jul 13 20:31:56 2015 -0600 @@ -34,7 +34,7 @@ #include "lw_string.h" -extern void register_struct_entry(asmstate_t *as, line_t *l, int size, structtab_t *ss); +void register_struct_entry(asmstate_t *as, line_t *l, int size, structtab_t *ss); // for "dts" PARSEFUNC(pseudo_parse_dts)