From bf374a5f238360d6a5055d79f53065fa95a26047 Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 11 Aug 2011 17:07:56 +0200 Subject: rename error/warning -> tcc_(error/warning) --- il-gen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'il-gen.c') diff --git a/il-gen.c b/il-gen.c index 61bc98d..c9b7806 100644 --- a/il-gen.c +++ b/il-gen.c @@ -193,7 +193,7 @@ static void il_type_to_str(char *buf, int buf_size, pstrcat(buf, buf_size, tstr); break; case VT_STRUCT: - error("structures not handled yet"); + tcc_error("structures not handled yet"); break; case VT_FUNC: s = sym_find((unsigned)t >> VT_STRUCT_SHIFT); @@ -387,7 +387,7 @@ void gfunc_start(GFuncContext *c, int func_call) void gfunc_param(GFuncContext *c) { if ((vtop->t & VT_BTYPE) == VT_STRUCT) { - error("structures passed as value not handled yet"); + tcc_error("structures passed as value not handled yet"); } else { /* simply push on stack */ gv(RC_ST0); -- cgit v1.3.1