Skip to content

Commit 76b110c

Browse files
committed
Clean up some minor gcc warnings.
1 parent ec806d7 commit 76b110c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pl/plpgsql/src/pl_comp.c

Lines changed: 6 additions & 5 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.13 1999/11/22 17:56:39 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.14 1999/12/20 01:41:32 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -66,10 +66,9 @@
6666
* Variables in the parser that shouldn't go into plpgsql.h
6767
* ----------
6868
*/
69-
PLPGSQL_YYSTYPE plpgsql_yylval;
70-
char plpgsql_yytext[];
71-
int plpgsql_yylineno;
72-
void plpgsql_yyerror(const char *s);
69+
extern PLPGSQL_YYSTYPE plpgsql_yylval;
70+
extern char plpgsql_yytext[];
71+
extern int plpgsql_yylineno;
7372

7473
/* ----------
7574
* Our own local and global variables
@@ -91,6 +90,8 @@ PLpgSQL_function *plpgsql_curr_compile;
9190
* Local function declarations
9291
* ----------
9392
*/
93+
extern void plpgsql_yyerror(const char *s);
94+
9495
static char *xlateSqlType(char *name);
9596

9697

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy