Warning removal cleanup

This commit is contained in:
Bruce Momjian 1996-11-11 04:54:54 +00:00
parent 8d9be647dc
commit 13d44b4aac
4 changed files with 11 additions and 6 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.3 1996/11/08 20:45:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.4 1996/11/11 04:54:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -250,6 +250,7 @@ myinput(char* buf, int max)
}
}
#ifdef NOT_USED
char*
CurScan(void)
{
@ -258,5 +259,7 @@ CurScan(void)
(yy_c_buf_p - &yy_current_buffer->yy_ch_buf[yy_n_chars]);
*/
}
#endif
#endif /* FLEX_SCANNER */

View File

@ -19,12 +19,13 @@
#include <time.h>
#include <config.h>
#include <parser/sysfunc.h>
/*
* Can't get much more obvious than this. Might need to replace localtime()
* on older systems...
*/
char *Sysfunc_system_date(void)
static char *Sysfunc_system_date(void)
{
time_t cur_time_secs;
struct tm *cur_time_expanded;

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.17 1996/11/10 03:02:50 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.18 1996/11/11 04:54:51 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@ -736,7 +736,7 @@ die(SIGNAL_ARGS)
}
/* signal handler for floating point exception */
void
static void
FloatExceptionHandler(SIGNAL_ARGS)
{
elog(WARN, "floating point exception! the last floating point operation eit\
@ -1257,7 +1257,7 @@ PostgresMain(int argc, char *argv[])
*/
if (IsUnderPostmaster == false) {
puts("\nPOSTGRES backend interactive interface");
puts("$Revision: 1.17 $ $Date: 1996/11/10 03:02:50 $");
puts("$Revision: 1.18 $ $Date: 1996/11/11 04:54:51 $");
}
/* ----------------

View File

@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.7 1996/11/10 02:25:16 bryanh Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.8 1996/11/11 04:54:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -42,6 +42,7 @@
#include "rewrite/rewriteDefine.h"
#include "tcop/tcopdebug.h"
#include "tcop/dest.h"
#include "tcop/utility.h"
#include "fmgr.h" /* For load_file() */
#ifndef NO_SECURITY