Commit 13d44b4a authored by Bruce Momjian's avatar Bruce Momjian

Warning removal cleanup

parent 8d9be647
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -250,6 +250,7 @@ myinput(char* buf, int max)
} }
} }
#ifdef NOT_USED
char* char*
CurScan(void) CurScan(void)
{ {
...@@ -258,5 +259,7 @@ CurScan(void) ...@@ -258,5 +259,7 @@ CurScan(void)
(yy_c_buf_p - &yy_current_buffer->yy_ch_buf[yy_n_chars]); (yy_c_buf_p - &yy_current_buffer->yy_ch_buf[yy_n_chars]);
*/ */
} }
#endif
#endif /* FLEX_SCANNER */ #endif /* FLEX_SCANNER */
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
#include <time.h> #include <time.h>
#include <config.h> #include <config.h>
#include <parser/sysfunc.h>
/* /*
* Can't get much more obvious than this. Might need to replace localtime() * Can't get much more obvious than this. Might need to replace localtime()
* on older systems... * on older systems...
*/ */
char *Sysfunc_system_date(void) static char *Sysfunc_system_date(void)
{ {
time_t cur_time_secs; time_t cur_time_secs;
struct tm *cur_time_expanded; struct tm *cur_time_expanded;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -736,7 +736,7 @@ die(SIGNAL_ARGS) ...@@ -736,7 +736,7 @@ die(SIGNAL_ARGS)
} }
/* signal handler for floating point exception */ /* signal handler for floating point exception */
void static void
FloatExceptionHandler(SIGNAL_ARGS) FloatExceptionHandler(SIGNAL_ARGS)
{ {
elog(WARN, "floating point exception! the last floating point operation eit\ elog(WARN, "floating point exception! the last floating point operation eit\
...@@ -1257,7 +1257,7 @@ PostgresMain(int argc, char *argv[]) ...@@ -1257,7 +1257,7 @@ PostgresMain(int argc, char *argv[])
*/ */
if (IsUnderPostmaster == false) { if (IsUnderPostmaster == false) {
puts("\nPOSTGRES backend interactive interface"); 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 $");
} }
/* ---------------- /* ----------------
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -42,6 +42,7 @@
#include "rewrite/rewriteDefine.h" #include "rewrite/rewriteDefine.h"
#include "tcop/tcopdebug.h" #include "tcop/tcopdebug.h"
#include "tcop/dest.h" #include "tcop/dest.h"
#include "tcop/utility.h"
#include "fmgr.h" /* For load_file() */ #include "fmgr.h" /* For load_file() */
#ifndef NO_SECURITY #ifndef NO_SECURITY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment