Clean up longstanding warnings. I think the remaining

'defined but not used' warnings would go away if the scanner didn't use
YY_REJECT.
This commit is contained in:
Tom Lane 2000-01-20 05:44:34 +00:00
parent 3888c62d5d
commit 8cfb8c68ea
2 changed files with 5 additions and 7 deletions

View File

@ -3,7 +3,7 @@
* procedural language
*
* 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.
*
@ -90,8 +90,6 @@ PLpgSQL_function *plpgsql_curr_compile;
* Local function declarations
* ----------
*/
extern void plpgsql_yyerror(const char *s);
static char *xlateSqlType(char *name);

View File

@ -3,7 +3,7 @@
* procedural language
*
* 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.
*
@ -496,9 +496,9 @@ extern char *plpgsql_tolower(char *s);
*/
extern PLpgSQL_expr *plpgsql_read_expression(int until, char *s);
extern void plpgsql_yyrestart(FILE *fp);
extern int plpgsql_yylex();
extern int plpgsql_yylex(void);
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 */