Add prototype include to inet types.

This commit is contained in:
Bruce Momjian 1998-10-04 15:35:12 +00:00
parent f5a219204b
commit a593107d9e
4 changed files with 12 additions and 5 deletions

View File

@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1 1998/10/03 05:40:48 momjian Exp $";
static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.2 1998/10/04 15:35:08 momjian Exp $";
#endif
@ -30,6 +30,9 @@ static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1 1998/10/03 05:40:48 momj
#include <string.h>
#include <stdlib.h>
#include <postgres.h>
#include <utils/builtins.h>
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)
#else

View File

@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$Id: inet_net_pton.c,v 1.1 1998/10/03 05:40:49 momjian Exp $";
static const char rcsid[] = "$Id: inet_net_pton.c,v 1.2 1998/10/04 15:35:09 momjian Exp $";
#endif
@ -32,6 +32,9 @@ static const char rcsid[] = "$Id: inet_net_pton.c,v 1.1 1998/10/03 05:40:49 momj
#include <string.h>
#include <stdlib.h>
#include <postgres.h>
#include <utils/builtins.h>
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)
#else

View File

@ -3,7 +3,7 @@
* is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate.
*
* $Id: ip.c,v 1.2 1998/10/04 15:31:06 momjian Exp $
* $Id: ip.c,v 1.3 1998/10/04 15:35:10 momjian Exp $
*/
#include <sys/types.h>
@ -17,6 +17,7 @@
#include <postgres.h>
#include <utils/palloc.h>
#include <utils/builtins.h>
#include <utils/mac.h>
/*

View File

@ -1,14 +1,14 @@
/*
* PostgreSQL type definitions for MAC addresses.
*
* $Id: mac.c,v 1.1 1998/10/03 05:40:50 momjian Exp $
* $Id: mac.c,v 1.2 1998/10/04 15:35:12 momjian Exp $
*/
#include <stdio.h>
#include <postgres.h>
#include <utils/palloc.h>
#include <utils/builtins.h>
#include <utils/mac.h>
manufacturer manufacturers[] = {