diff --git a/tools/qfcc/include/function.h b/tools/qfcc/include/function.h index 4f8fa83e7..667cfb5ba 100644 --- a/tools/qfcc/include/function.h +++ b/tools/qfcc/include/function.h @@ -146,7 +146,6 @@ function_t *build_code_function (struct symbol_s *fsym, function_t *build_builtin_function (struct symbol_s *sym, struct expr_s *bi_val, int far, enum storage_class_e storage); -void finish_function (function_t *f); void emit_function (function_t *f, struct expr_s *e); int function_parms (function_t *f, byte *parm_size); void clear_functions (void); diff --git a/tools/qfcc/source/function.c b/tools/qfcc/source/function.c index b20d38cf5..4840fb41f 100644 --- a/tools/qfcc/source/function.c +++ b/tools/qfcc/source/function.c @@ -646,7 +646,6 @@ build_code_function (symbol_t *fsym, expr_t *state_expr, expr_t *statements) statements = state_expr; } emit_function (fsym->s.func, statements); - finish_function (fsym->s.func); return fsym->s.func; } @@ -692,7 +691,6 @@ build_builtin_function (symbol_t *sym, expr_t *bi_val, int far, sym->s.func->builtin = bi; reloc_def_func (sym->s.func, sym->s.func->def); build_function (sym); - finish_function (sym->s.func); // for debug info build_scope (sym, current_symtab); @@ -700,11 +698,6 @@ build_builtin_function (symbol_t *sym, expr_t *bi_val, int far, return sym->s.func; } -void -finish_function (function_t *f) -{ -} - void emit_function (function_t *f, expr_t *e) {