mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Clean up longstanding gcc warnings by adding missing extern
declarations.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.60 1999/10/18 02:42:31 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.61 2000/01/20 05:26:53 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -356,7 +356,7 @@ other .
|
|||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
void yyerror(char message[])
|
void yyerror(const char * message)
|
||||||
{
|
{
|
||||||
elog(ERROR, "parser: %s at or near \"%s\"", message, yytext);
|
elog(ERROR, "parser: %s at or near \"%s\"", message, yytext);
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: gramparse.h,v 1.9 1999/02/13 23:21:55 momjian Exp $
|
* $Id: gramparse.h,v 1.10 2000/01/20 05:26:54 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
/* from scan.l */
|
/* from scan.l */
|
||||||
extern void init_io(void);
|
extern void init_io(void);
|
||||||
|
extern int yylex(void);
|
||||||
|
extern void yyerror(const char * message);
|
||||||
|
|
||||||
/* from gram.y */
|
/* from gram.y */
|
||||||
extern Oid param_type(int t);
|
extern Oid param_type(int t);
|
||||||
|
Reference in New Issue
Block a user