index a26817968de7990e0f85592c55e951fb50b20cd6..06a86a2bfae4be099a30cf40cab5b418affa67ac 100644 (file)
#line 3 "strings.pgc"
/* exec sql begin declare section */
#line 1 "strings.h"
+/* redundant declaration to silence -Wmissing-variable-declarations */
+
+
+
+
+
+
+
+
+
#line 5 "strings.pgc"
-#line 1 "strings.h"
+#line 2 "strings.h"
+ extern char * s1 , * s2 , * s3 , * s4 , * s5 , * s6 , * s7 , * s8 ;
+
+#line 11 "strings.h"
char * s1 , * s2 , * s3 , * s4 , * s5 , * s6 , * s7 , * s8 ;
/* exec sql end declare section */
#line 5 "strings.pgc"
index 6ec83ff33f9a9378e39d4ff736d7c7106bb040ca..bcb0d8027a04dd8a466f97b4a51328c63809ed0d 100644 (file)
# Emit the struct that wraps all this lookup info into one variable.
-printf $kwdef "static " if !$extern;
+if ($extern)
+{
+ # redundant declaration to silence -Wmissing-variable-declarations
+ printf $kwdef "extern PGDLLIMPORT const ScanKeywordList %s;\n\n",
+ $varname;
+}
+else
+{
+ printf $kwdef "static ";
+}
printf $kwdef "const ScanKeywordList %s = {\n", $varname;
printf $kwdef qq|\t%s_kw_string,\n|, $varname;
printf $kwdef qq|\t%s_kw_offsets,\n|, $varname;