In the local use of local stack, use a global stack in the global time

This commit is contained in:
jiang 2014-05-20 14:59:37 +08:00
parent e5e7f488e2
commit f8b4f59f8b

View File

@ -3990,7 +3990,7 @@ ST_FUNC void unary(void)
#endif
)
tcc_warning("implicit declaration of function '%s'", name);
s = external_global_sym(t, &func_old_type, 0);
s = external_sym(t, &func_old_type, 0, NULL);
}
if ((s->type.t & (VT_STATIC | VT_INLINE | VT_BTYPE)) ==
(VT_STATIC | VT_INLINE | VT_FUNC)) {