From a6e7baf1270180fb8e88e88eae70238172f2d4a5 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Wed, 27 Jun 2012 13:23:27 +0200 Subject: [PATCH] prog_enter/leavefunction made static --- exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index 4c27a73..dcc8718 100644 --- a/exec.c +++ b/exec.c @@ -437,7 +437,7 @@ static void prog_print_statement(qc_program *prog, prog_statement *st) } } -qcint prog_enterfunction(qc_program *prog, prog_function *func) +static qcint prog_enterfunction(qc_program *prog, prog_function *func) { qc_exec_stack st; prog_function *cur = NULL; @@ -468,7 +468,7 @@ qcint prog_enterfunction(qc_program *prog, prog_function *func) return func->entry; } -qcint prog_leavefunction(qc_program *prog) +static qcint prog_leavefunction(qc_program *prog) { qc_exec_stack st = prog->stack[prog->stack_count-1]; if (!qc_program_stack_remove(prog, prog->stack_count-1)) {