From 3ece4a964f7fd04424ff7c619fc43c1056fa98c1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 14 Aug 2013 12:09:26 +0200 Subject: [PATCH] remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked into both the testsuite and qcvm --- exec.c | 2 -- test.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/exec.c b/exec.c index 16e5ded..da79a05 100644 --- a/exec.c +++ b/exec.c @@ -591,8 +591,6 @@ cleanup: #if defined(QCVM_EXECUTOR) #include -opts_cmd_t opts; - const char *type_name[TYPE_COUNT] = { "void", "string", diff --git a/test.c b/test.c index 1e303fd..d3132e2 100644 --- a/test.c +++ b/test.c @@ -27,8 +27,6 @@ #include "gmqcc.h" -opts_cmd_t opts; - static const char *task_bins[] = { "./gmqcc", "./qcvm" -- 2.39.2