aboutsummaryrefslogtreecommitdiffstats
path: root/bench/benchmark-func.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench/benchmark-func.c')
-rw-r--r--bench/benchmark-func.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/benchmark-func.c b/bench/benchmark-func.c
index 6c33d11..7f4d093 100644
--- a/bench/benchmark-func.c
+++ b/bench/benchmark-func.c
@@ -291,9 +291,9 @@ destroy_ints(z_t *array, size_t start, size_t end)
int
main(int argc, char *argv[])
{
- struct function *fs = functions;
+ static struct function *fs = functions;
+ static z_t *as = 0, *bs = 0;
jmp_buf jmp;
- z_t *as = 0, *bs = 0;
if (argc != 2) {
fprintf(stderr, "usage: %s function\n", *argv);