summaryrefslogtreecommitdiff
path: root/soltools/cpp/_eval.c
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-15 19:08:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-16 20:53:28 +0200
commit41493823f98a1751df943b07da8b887f29052ffb (patch)
treecc9350041379af3fb43910dba80dd0b7ebfcfa41 /soltools/cpp/_eval.c
parentd357e50fa1734da0bf341dbd49fc0596011bdfe3 (diff)
loplugin:external in Executable_cpp
...showing that tottok and tokkind are actually unused Change-Id: Ic70f4f1fd7b585b00e98b538d116599e395a43b9 Reviewed-on: https://gerrit.libreoffice.org/60536 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'soltools/cpp/_eval.c')
-rw-r--r--soltools/cpp/_eval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/soltools/cpp/_eval.c b/soltools/cpp/_eval.c
index 498fda740e89..48526b76e94b 100644
--- a/soltools/cpp/_eval.c
+++ b/soltools/cpp/_eval.c
@@ -238,10 +238,10 @@ static struct pri priority[] =
}, /* ARCHITECTURE */
};
-int evalop(struct pri);
-struct value tokval(Token *);
-struct value vals[NSTAK], *vp;
-enum toktype ops[NSTAK], *op;
+static int evalop(struct pri);
+static struct value tokval(Token *);
+static struct value vals[NSTAK], *vp;
+static enum toktype ops[NSTAK], *op;
/*
* Evaluate an #if #elif #ifdef #ifndef line. trp->tp points to the keyword.