From: Tom Lane Date: Sun, 7 Feb 1999 22:07:02 +0000 (+0000) Subject: Clean up some minor compile warnings. X-Git-Tag: REL6_5~699 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2802669856dafe9e26b21cc8779acf6dcbef921;p=postgresql Clean up some minor compile warnings. --- diff --git a/src/backend/port/inet_aton.c b/src/backend/port/inet_aton.c index ae954887c2..2922c137ca 100644 --- a/src/backend/port/inet_aton.c +++ b/src/backend/port/inet_aton.c @@ -1,4 +1,4 @@ -/* $Id: inet_aton.c,v 1.15 1998/09/01 03:24:28 momjian Exp $ +/* $Id: inet_aton.c,v 1.16 1999/02/07 22:07:02 tgl Exp $ * * This inet_aton() function was taken from the GNU C library and * incorporated into Postgres for those systems which do not have this @@ -42,6 +42,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#include "config.h" + #include #include #include diff --git a/src/backend/port/random.c b/src/backend/port/random.c index dc74986781..84b8293691 100644 --- a/src/backend/port/random.c +++ b/src/backend/port/random.c @@ -1,8 +1,10 @@ -/* $Id: random.c,v 1.5 1998/09/01 03:24:30 momjian Exp $ */ +/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */ +#include #include /* for pow() prototype */ - #include + +#include "config.h" #include "rusagestub.h" long diff --git a/src/backend/port/srandom.c b/src/backend/port/srandom.c index 7a443acb9e..ed7cf4b7be 100644 --- a/src/backend/port/srandom.c +++ b/src/backend/port/srandom.c @@ -1,8 +1,10 @@ -/* $Id: srandom.c,v 1.5 1998/02/26 04:34:14 momjian Exp $ */ +/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */ +#include #include /* for pow() prototype */ - #include + +#include "config.h" #include "rusagestub.h" void diff --git a/src/backend/utils/fmgr/dfmgr.c b/src/backend/utils/fmgr/dfmgr.c index 563ed2d28e..3c2fd6c6e5 100644 --- a/src/backend/utils/fmgr/dfmgr.c +++ b/src/backend/utils/fmgr/dfmgr.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.21 1998/10/08 18:30:14 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.22 1999/02/07 22:06:01 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -277,7 +277,8 @@ load_file(char *filename) handle_load(filename, (char *) NULL); } -/* Is this used? bjm 1998/10/08 */ +/* Is this used? bjm 1998/10/08 No. tgl 1999/02/07 */ +#ifdef NOT_USED func_ptr trigger_dynamic(char *filename, char *funcname) { @@ -287,3 +288,4 @@ trigger_dynamic(char *filename, char *funcname) return trigger_fn; } +#endif