include/jit/emit-code.h declares prototypes without using 'extern'. This fixes the issue.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- include/jit/emit-code.h | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/jit/emit-code.h b/include/jit/emit-code.h index 65b4469..81b98e2 100644 --- a/include/jit/emit-code.h +++ b/include/jit/emit-code.h @@ -24,14 +24,14 @@ extern struct emitter emitters[]; #define DECL_EMITTER(_insn_type, _fn, _emitter_type) \ [_insn_type] = { .emit_fn = _fn, .type = _emitter_type } -void emit_prolog(struct buffer *, unsigned long); -void emit_epilog(struct buffer *); -void emit_trampoline(struct compilation_unit *, void *, struct jit_trampoline *); -void emit_unwind(struct buffer *); -void emit_lock(struct buffer *, struct object *); -void emit_lock_this(struct buffer *); -void emit_unlock(struct buffer *, struct object *); -void emit_unlock_this(struct buffer *); -void backpatch_branch_target(struct buffer *, struct insn *, unsigned long); +extern void emit_prolog(struct buffer *, unsigned long); +extern void emit_epilog(struct buffer *); +extern void emit_trampoline(struct compilation_unit *, void *, struct jit_trampoline *); +extern void emit_unwind(struct buffer *); +extern void emit_lock(struct buffer *, struct object *); +extern void emit_lock_this(struct buffer *); +extern void emit_unlock(struct buffer *, struct object *); +extern void emit_unlock_this(struct buffer *); +extern void backpatch_branch_target(struct buffer *, struct insn *, unsigned long); #endif /* JATO_EMIT_CODE_H */ -- 1.6.0.6 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel