From 36e2a46e07cdb3f53a827e8192fe7f82852ad64c Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 26 Jun 2012 13:21:09 +0200 Subject: [PATCH] Listing functions --- exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 205aa38..d1844bd 100644 --- a/exec.c +++ b/exec.c @@ -277,7 +277,8 @@ int main(int argc, char **argv) exit(1); } - for (i = 0; i < prog->functions_count; ++i) { + for (i = 1; i < prog->functions_count; ++i) { + printf("Found function: %s\n", prog_getstring(prog, prog->functions[i].name)); } prog_delete(prog);