Commit 8cfb8c68 authored by Tom Lane's avatar Tom Lane

Clean up longstanding warnings. I think the remaining

'defined but not used' warnings would go away if the scanner didn't use
YY_REJECT.
parent 3888c62d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.16 2000/01/15 22:43:25 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.17 2000/01/20 05:44:34 tgl Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -90,8 +90,6 @@ PLpgSQL_function *plpgsql_curr_compile; ...@@ -90,8 +90,6 @@ PLpgSQL_function *plpgsql_curr_compile;
* Local function declarations * Local function declarations
* ---------- * ----------
*/ */
extern void plpgsql_yyerror(const char *s);
static char *xlateSqlType(char *name); static char *xlateSqlType(char *name);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.7 2000/01/15 22:43:25 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.8 2000/01/20 05:44:34 tgl Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -496,9 +496,9 @@ extern char *plpgsql_tolower(char *s); ...@@ -496,9 +496,9 @@ extern char *plpgsql_tolower(char *s);
*/ */
extern PLpgSQL_expr *plpgsql_read_expression(int until, char *s); extern PLpgSQL_expr *plpgsql_read_expression(int until, char *s);
extern void plpgsql_yyrestart(FILE *fp); extern void plpgsql_yyrestart(FILE *fp);
extern int plpgsql_yylex(); extern int plpgsql_yylex(void);
extern void plpgsql_setinput(char *s, int functype); extern void plpgsql_setinput(char *s, int functype);
extern int plpgsql_yyparse(); extern int plpgsql_yyparse(void);
extern void plpgsql_yyerror(const char *s);
#endif /* PLPGSQL_H */ #endif /* PLPGSQL_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment