summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/ecpg.header
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2014-10-22 10:35:36 +0200
committerMichael Meskes <meskes@postgresql.org>2014-10-22 16:46:55 +0200
commit2ae7811db87bf54e8a70aae3cfd9f7cc7eff0bc4 (patch)
tree7bf6b26d59cea502fa5f3f04957915b3e8e5e09b /src/interfaces/ecpg/preproc/ecpg.header
parent98b37437796bb5fedecf0d0c73cef4aa2ce9d192 (diff)
Small code cleanup.
Declare static variable as static and external as extern.
Diffstat (limited to 'src/interfaces/ecpg/preproc/ecpg.header')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.header2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.header b/src/interfaces/ecpg/preproc/ecpg.header
index 9c5018c2490..a2be29c4348 100644
--- a/src/interfaces/ecpg/preproc/ecpg.header
+++ b/src/interfaces/ecpg/preproc/ecpg.header
@@ -59,7 +59,7 @@ static char *forward_name = NULL;
struct ECPGtype ecpg_no_indicator = {ECPGt_NO_INDICATOR, NULL, NULL, NULL, {NULL}, 0};
struct variable no_indicator = {"no_indicator", &ecpg_no_indicator, 0, NULL};
-struct ECPGtype ecpg_query = {ECPGt_char_variable, NULL, NULL, NULL, {NULL}, 0};
+static struct ECPGtype ecpg_query = {ECPGt_char_variable, NULL, NULL, NULL, {NULL}, 0};
/*
* Handle parsing errors and warnings