summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
diff options
context:
space:
mode:
authorPeter Eisentraut2014-02-09 02:21:46 +0000
committerPeter Eisentraut2014-02-09 02:21:46 +0000
commit66c04c981dfe7c1d1e633dddcecf01982d0bde65 (patch)
tree2e2d8cecca57aba1fc2ec22400c55e98f9562301 /src/interfaces/ecpg
parent6aa2bdf6a01ce099e315cb313396ca4b8415321b (diff)
Mark some more variables as static or include the appropriate header
Detected by clang's -Wmissing-variable-declarations. From: Andres Freund <andres@anarazel.de>
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r--src/interfaces/ecpg/preproc/pgc.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l
index 9606d86e9ef..3bd63b353d0 100644
--- a/src/interfaces/ecpg/preproc/pgc.l
+++ b/src/interfaces/ecpg/preproc/pgc.l
@@ -56,7 +56,7 @@ static bool isdefine(void);
static bool isinformixdefine(void);
char *token_start;
-int state_before;
+static int state_before;
struct _yy_buffer
{