Mercurial > hg > index.cgi
comparison lwasm/insn_logicmem.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 | b20f14edda5a |
comparison
equal
deleted
inserted
replaced
373:00fced888c5d | 374:8e25147c2aa8 |
---|---|
27 #include <lw_expr.h> | 27 #include <lw_expr.h> |
28 | 28 |
29 #include "lwasm.h" | 29 #include "lwasm.h" |
30 #include "instab.h" | 30 #include "instab.h" |
31 | 31 |
32 extern void insn_parse_gen_aux(asmstate_t *as, line_t *l, char **optr, int elen); | 32 void insn_parse_gen_aux(asmstate_t *as, line_t *l, char **optr, int elen); |
33 extern void insn_resolve_gen_aux(asmstate_t *as, line_t *l, int force, int elen); | 33 void insn_resolve_gen_aux(asmstate_t *as, line_t *l, int force, int elen); |
34 extern void insn_emit_gen_aux(asmstate_t *as, line_t *l, int extra); | 34 void insn_emit_gen_aux(asmstate_t *as, line_t *l, int extra); |
35 | 35 |
36 // for aim, oim, eim, tim | 36 // for aim, oim, eim, tim |
37 PARSEFUNC(insn_parse_logicmem) | 37 PARSEFUNC(insn_parse_logicmem) |
38 { | 38 { |
39 // const char *p2; | 39 // const char *p2; |