]> granicus.if.org Git - postgresql/commitdiff
Warning removal cleanup
authorBruce Momjian <bruce@momjian.us>
Mon, 11 Nov 1996 04:54:54 +0000 (04:54 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 11 Nov 1996 04:54:54 +0000 (04:54 +0000)
src/backend/parser/scan.l
src/backend/parser/sysfunc.c
src/backend/tcop/postgres.c
src/backend/tcop/utility.c

index 616843f4eb1137bbbef9dca52c276bc89856072c..3fba67a70cfad31dc6b6165c454d289536dc9acb 100644 (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 */
 
index da00e7ef60d40d5e97f2361b8b3c1d16d5c6a326..7cad3ab7ba590b1765164f1dbeeb8236594063b0 100644 (file)
 #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;
index 2f9ae7bfd515808f63db734f2b03d7e90ec7344b..85de467d5735ac44e444f284be84519b474ca9ea 100644 (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 $");
     }
     
     /* ----------------
index 89135b9cde274fff24b33e1a2c6d3fa8ee214e39..f7890deb7e90b5f6fc0498c944efc5483aab4ef5 100644 (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