Re: pg_dumpall.c missing include time.h? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_dumpall.c missing include time.h?
Date
Msg-id 200406091705.i59H5Y700172@candle.pha.pa.us
Whole thread Raw
In response to pg_dumpall.c missing include time.h?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Added time.h to pg_dumpall.c.  Thanks.

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> I got:
> 
> gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I/home/alvherre/CVS/pgsql/source/13commitOpt/src/interfaces/libpq-I../../../src/include
-I/home/alvherre/CVS/pgsql/source/13commitOpt/src/include-D_GNU_SOURCE  -DFRONTEND  -c -o pg_dumpall.o
/home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c-MMD
 
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c: In function `dumpTimestamp':
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c:826: warning: implicit declaration of
function`time'
 
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c:828: warning: implicit declaration of
function`strftime'
 
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c:828: warning: implicit declaration of
function`localtime'
 
> 
> -- 
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> "La naturaleza, tan fr?gil, tan expuesta a la muerte... y tan viva"
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Frequently updated tables
Next
From: Bruce Momjian
Date:
Subject: Re: thread safety tests