summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-05 13:21:22 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-05 13:21:22 -0500
commitaef68912549e4a50590fe46223677b7d1a0d8bf4 (patch)
tree75f35a36dce372d99f62f9412b3a1072c9128c1e
parentgetaddrinfo.c: Use freebsd/ to ully specify kernel .h files (diff)
downloadrtems-libbsd-aef68912549e4a50590fe46223677b7d1a0d8bf4.tar.bz2
libc/inet/*.c: Include port_before.h first
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_addr.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_cidr_ntop.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_cidr_pton.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_lnaof.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_makeaddr.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_net_ntop.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_net_pton.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_neta.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_netof.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_network.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_ntoa.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_ntop.c4
-rw-r--r--freebsd-userspace/lib/libc/inet/inet_pton.c3
-rw-r--r--freebsd-userspace/lib/libc/inet/nsap_addr.c4
14 files changed, 28 insertions, 27 deletions
diff --git a/freebsd-userspace/lib/libc/inet/inet_addr.c b/freebsd-userspace/lib/libc/inet/inet_addr.c
index e606d345..2774ca4c 100644
--- a/freebsd-userspace/lib/libc/inet/inet_addr.c
+++ b/freebsd-userspace/lib/libc/inet/inet_addr.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 1983, 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -71,8 +73,6 @@ static const char rcsid[] = "$Id: inet_addr.c,v 1.4.18.1 2005/04/27 05:00:52 sra
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/param.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_cidr_ntop.c b/freebsd-userspace/lib/libc/inet/inet_cidr_ntop.c
index 645b3cd5..7ed57322 100644
--- a/freebsd-userspace/lib/libc/inet/inet_cidr_ntop.c
+++ b/freebsd-userspace/lib/libc/inet/inet_cidr_ntop.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1998,1999 by Internet Software Consortium.
@@ -19,8 +21,6 @@
static const char rcsid[] = "$Id: inet_cidr_ntop.c,v 1.4.18.3 2006/10/11 02:32:47 marka Exp $";
#endif
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_cidr_pton.c b/freebsd-userspace/lib/libc/inet/inet_cidr_pton.c
index b0586ff3..a0bb4410 100644
--- a/freebsd-userspace/lib/libc/inet/inet_cidr_pton.c
+++ b/freebsd-userspace/lib/libc/inet/inet_cidr_pton.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1998,1999 by Internet Software Consortium.
@@ -21,8 +23,6 @@ static const char rcsid[] = "$Id: inet_cidr_pton.c,v 1.5.18.1 2005/04/27 05:00:5
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_lnaof.c b/freebsd-userspace/lib/libc/inet/inet_lnaof.c
index 7cab8946..3cd73285 100644
--- a/freebsd-userspace/lib/libc/inet/inet_lnaof.c
+++ b/freebsd-userspace/lib/libc/inet/inet_lnaof.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,8 +35,6 @@ static const char sccsid[] = "@(#)inet_lnaof.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_makeaddr.c b/freebsd-userspace/lib/libc/inet/inet_makeaddr.c
index 04a37a03..33067d9e 100644
--- a/freebsd-userspace/lib/libc/inet/inet_makeaddr.c
+++ b/freebsd-userspace/lib/libc/inet/inet_makeaddr.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,8 +35,6 @@ static const char sccsid[] = "@(#)inet_makeaddr.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_net_ntop.c b/freebsd-userspace/lib/libc/inet/inet_net_ntop.c
index 867f441a..b885a56a 100644
--- a/freebsd-userspace/lib/libc/inet/inet_net_ntop.c
+++ b/freebsd-userspace/lib/libc/inet/inet_net_ntop.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium.
@@ -21,8 +23,6 @@ static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.3.18.2 2006/06/20 02:51:32
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_net_pton.c b/freebsd-userspace/lib/libc/inet/inet_net_pton.c
index 74df38b9..976878c1 100644
--- a/freebsd-userspace/lib/libc/inet/inet_net_pton.c
+++ b/freebsd-userspace/lib/libc/inet/inet_net_pton.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium.
@@ -21,8 +23,6 @@ static const char rcsid[] = "$Id: inet_net_pton.c,v 1.7.18.2 2008/08/26 04:42:43
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_neta.c b/freebsd-userspace/lib/libc/inet/inet_neta.c
index 72ac549f..e76791a4 100644
--- a/freebsd-userspace/lib/libc/inet/inet_neta.c
+++ b/freebsd-userspace/lib/libc/inet/inet_neta.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium.
@@ -21,8 +23,6 @@ static const char rcsid[] = "$Id: inet_neta.c,v 1.2.18.1 2005/04/27 05:00:53 sra
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_netof.c b/freebsd-userspace/lib/libc/inet/inet_netof.c
index 8931c30f..08d880d6 100644
--- a/freebsd-userspace/lib/libc/inet/inet_netof.c
+++ b/freebsd-userspace/lib/libc/inet/inet_netof.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,8 +35,6 @@ static const char sccsid[] = "@(#)inet_netof.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_network.c b/freebsd-userspace/lib/libc/inet/inet_network.c
index 254db41a..d7ad37c1 100644
--- a/freebsd-userspace/lib/libc/inet/inet_network.c
+++ b/freebsd-userspace/lib/libc/inet/inet_network.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,8 +35,6 @@ static const char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_ntoa.c b/freebsd-userspace/lib/libc/inet/inet_ntoa.c
index f5d69fac..4d36ab9f 100644
--- a/freebsd-userspace/lib/libc/inet/inet_ntoa.c
+++ b/freebsd-userspace/lib/libc/inet/inet_ntoa.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*-
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,8 +36,6 @@ static const char rcsid[] = "$Id: inet_ntoa.c,v 1.1.352.1 2005/04/27 05:00:54 sr
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_ntop.c b/freebsd-userspace/lib/libc/inet/inet_ntop.c
index 6d210279..62d4ba7a 100644
--- a/freebsd-userspace/lib/libc/inet/inet_ntop.c
+++ b/freebsd-userspace/lib/libc/inet/inet_ntop.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-1999 by Internet Software Consortium.
@@ -21,8 +23,6 @@ static const char rcsid[] = "$Id: inet_ntop.c,v 1.3.18.2 2005/11/03 23:02:22 mar
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/freebsd-userspace/lib/libc/inet/inet_pton.c b/freebsd-userspace/lib/libc/inet/inet_pton.c
index ae650990..db15551f 100644
--- a/freebsd-userspace/lib/libc/inet/inet_pton.c
+++ b/freebsd-userspace/lib/libc/inet/inet_pton.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium.
@@ -21,7 +23,6 @@ static const char rcsid[] = "$Id: inet_pton.c,v 1.3.18.2 2005/07/28 07:38:07 mar
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/freebsd-userspace/lib/libc/inet/nsap_addr.c b/freebsd-userspace/lib/libc/inet/nsap_addr.c
index 29474729..3efd1e0f 100644
--- a/freebsd-userspace/lib/libc/inet/nsap_addr.c
+++ b/freebsd-userspace/lib/libc/inet/nsap_addr.c
@@ -1,3 +1,5 @@
+#include "port_before.h"
+
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-1999 by Internet Software Consortium.
@@ -21,8 +23,6 @@ static const char rcsid[] = "$Id: nsap_addr.c,v 1.3.18.2 2005/07/28 07:38:08 mar
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "port_before.h"
-
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>