diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-12-20 01:41:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-12-20 01:41:32 +0000 |
commit | 76b110c82a23f996668d30043bf790dd0768c34b (patch) | |
tree | b400e140c7ae58ffcfea4ded80699ff54bb23a1c | |
parent | ec806d72c0dd09b33772b13974229273d4459c15 (diff) | |
download | postgresql-76b110c82a23f996668d30043bf790dd0768c34b.tar.gz postgresql-76b110c82a23f996668d30043bf790dd0768c34b.zip |
Clean up some minor gcc warnings.
-rw-r--r-- | src/pl/plpgsql/src/pl_comp.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/pl/plpgsql/src/pl_comp.c b/src/pl/plpgsql/src/pl_comp.c index 6f908b48d28..ef5911c6036 100644 --- a/src/pl/plpgsql/src/pl_comp.c +++ b/src/pl/plpgsql/src/pl_comp.c @@ -3,7 +3,7 @@ * procedural language * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.13 1999/11/22 17:56:39 momjian Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.14 1999/12/20 01:41:32 tgl Exp $ * * This software is copyrighted by Jan Wieck - Hamburg. * @@ -66,10 +66,9 @@ * Variables in the parser that shouldn't go into plpgsql.h * ---------- */ -PLPGSQL_YYSTYPE plpgsql_yylval; -char plpgsql_yytext[]; -int plpgsql_yylineno; -void plpgsql_yyerror(const char *s); +extern PLPGSQL_YYSTYPE plpgsql_yylval; +extern char plpgsql_yytext[]; +extern int plpgsql_yylineno; /* ---------- * Our own local and global variables @@ -91,6 +90,8 @@ PLpgSQL_function *plpgsql_curr_compile; * Local function declarations * ---------- */ +extern void plpgsql_yyerror(const char *s); + static char *xlateSqlType(char *name); |