mirror of
https://github.com/danog/ir.git
synced 2024-11-26 12:24:56 +01:00
[ir_load]: Make report_undefined_var() static
It looks like report_undefined_var() is only used in ir_load.c and no other places. Make it static. Signed-off-by: Tony Su <tao.su@intel.com>
This commit is contained in:
parent
f005199576
commit
5302cdf8ee
2
ir.g
2
ir.g
@ -110,7 +110,7 @@ static void report_undefined_var(const char *str, uint32_t len, ir_ref val)
|
||||
}
|
||||
}
|
||||
|
||||
void ir_check_indefined_vars(ir_parser_ctx *p)
|
||||
static void ir_check_indefined_vars(ir_parser_ctx *p)
|
||||
{
|
||||
ir_strtab_apply(&p->var_tab, report_undefined_var);
|
||||
exit(2);
|
||||
|
Loading…
Reference in New Issue
Block a user