summaryrefslogtreecommitdiff
path: root/parse/names.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2011-12-24 14:49:21 -0500
committerOri Bernstein <ori@eigenstate.org>2011-12-24 14:49:21 -0500
commit85cdc11b3ad306110ae43fe5b35c04c37cd776fd (patch)
treea207a0af88b700b273d3d2b258408b0779a2abf1 /parse/names.c
parentdc062d85aca496f752be16b1da3e4747735a8921 (diff)
downloadmc-85cdc11b3ad306110ae43fe5b35c04c37cd776fd.tar.gz
Fix static analysis warnings.
Diffstat (limited to 'parse/names.c')
-rw-r--r--parse/names.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse/names.c b/parse/names.c
index e3f626f..f380fad 100644
--- a/parse/names.c
+++ b/parse/names.c
@@ -11,25 +11,25 @@
#include "parse.h"
-char *optab[] = {
+static char *optab[] = {
#define O(op) #op,
#include "ops.def"
#undef O
};
-char *nodetab[] = {
+static char *nodetab[] = {
#define N(nt) #nt,
#include "nodes.def"
#undef N
};
-char *littab[] = {
+static char *littab[] = {
#define L(lt) #lt,
#include "lits.def"
#undef L
};
-char *tidtab[] = {
+static char *tidtab[] = {
#define Ty(t) #t,
#include "types.def"
#undef Ty