Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8cfb8c6

Browse files
committed
Clean up longstanding warnings. I think the remaining
'defined but not used' warnings would go away if the scanner didn't use YY_REJECT.
1 parent 3888c62 commit 8cfb8c6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/pl/plpgsql/src/pl_comp.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.16 2000/01/15 22:43:25 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.17 2000/01/20 05:44:34 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -90,8 +90,6 @@ PLpgSQL_function *plpgsql_curr_compile;
9090
* Local function declarations
9191
* ----------
9292
*/
93-
extern void plpgsql_yyerror(const char *s);
94-
9593
static char *xlateSqlType(char *name);
9694

9795

src/pl/plpgsql/src/plpgsql.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.7 2000/01/15 22:43:25 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.8 2000/01/20 05:44:34 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -496,9 +496,9 @@ extern char *plpgsql_tolower(char *s);
496496
*/
497497
extern PLpgSQL_expr *plpgsql_read_expression(int until, char *s);
498498
extern void plpgsql_yyrestart(FILE *fp);
499-
extern int plpgsql_yylex();
499+
extern int plpgsql_yylex(void);
500500
extern void plpgsql_setinput(char *s, int functype);
501-
extern int plpgsql_yyparse();
502-
501+
extern int plpgsql_yyparse(void);
502+
extern void plpgsql_yyerror(const char *s);
503503

504504
#endif /* PLPGSQL_H */

0 commit comments

Comments
 (0)