summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-27 10:26:50 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 16:06:41 +0200
commitb6f6deb88310f5e69059598d54c906769a9bf12a (patch)
tree8a9e718ca169f55ce8dea26bd185be12cc817fb4 /freebsd
parentDirectly use <sys/types.h> provided by Newlib (diff)
downloadrtems-libbsd-b6f6deb88310f5e69059598d54c906769a9bf12a.tar.bz2
Directly use <sys/_types.h> provided by Newlib
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/include/arpa/inet.h2
-rw-r--r--freebsd/include/err.h2
-rw-r--r--freebsd/include/netdb.h2
-rw-r--r--freebsd/lib/libc/include/libc_private.h4
-rw-r--r--freebsd/lib/libkvm/kvm.h2
-rw-r--r--freebsd/lib/libutil/libutil.h2
-rw-r--r--freebsd/sys/netinet/in.h2
-rw-r--r--freebsd/sys/sys/sbuf.h2
-rw-r--r--freebsd/sys/sys/socket.h2
-rw-r--r--freebsd/sys/sys/stdint.h2
-rw-r--r--freebsd/sys/sys/syslog.h2
-rw-r--r--freebsd/sys/sys/un.h2
12 files changed, 13 insertions, 13 deletions
diff --git a/freebsd/include/arpa/inet.h b/freebsd/include/arpa/inet.h
index d8d8e0ea..1078521c 100644
--- a/freebsd/include/arpa/inet.h
+++ b/freebsd/include/arpa/inet.h
@@ -61,7 +61,7 @@
/* External definitions for functions in inet(3). */
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
/* Required for byteorder(3) functions. */
#include <machine/endian.h>
diff --git a/freebsd/include/err.h b/freebsd/include/err.h
index 81ff4421..f47b0038 100644
--- a/freebsd/include/err.h
+++ b/freebsd/include/err.h
@@ -41,7 +41,7 @@
* __va_list from <sys/_types.h> and use it.
*/
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
__BEGIN_DECLS
void err(int, const char *, ...) __dead2 __printf0like(2, 3);
diff --git a/freebsd/include/netdb.h b/freebsd/include/netdb.h
index baf96f6f..2c2e4b3f 100644
--- a/freebsd/include/netdb.h
+++ b/freebsd/include/netdb.h
@@ -58,7 +58,7 @@
#define _NETDB_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#ifndef _SIZE_T_DECLARED
typedef __size_t size_t;
diff --git a/freebsd/lib/libc/include/libc_private.h b/freebsd/lib/libc/include/libc_private.h
index 09dfacf0..cebc035e 100644
--- a/freebsd/lib/libc/include/libc_private.h
+++ b/freebsd/lib/libc/include/libc_private.h
@@ -34,7 +34,7 @@
#ifndef _LIBC_PRIVATE_H_
#define _LIBC_PRIVATE_H_
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#include <sys/_pthreadtypes.h>
/*
@@ -230,7 +230,7 @@ extern void (*__cleanup)(void);
* for the wrapped "new" pad-less syscalls are here for now.
*/
extern int __getosreldate(void);
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
/* Without pad */
extern __off_t __sys_lseek(int, __off_t, int);
extern int __sys_ftruncate(int, __off_t);
diff --git a/freebsd/lib/libkvm/kvm.h b/freebsd/lib/libkvm/kvm.h
index a0c2a906..912f1d4b 100644
--- a/freebsd/lib/libkvm/kvm.h
+++ b/freebsd/lib/libkvm/kvm.h
@@ -34,7 +34,7 @@
#define _KVM_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#include <nlist.h>
/* Default version symbol. */
diff --git a/freebsd/lib/libutil/libutil.h b/freebsd/lib/libutil/libutil.h
index d5808d33..60ba3235 100644
--- a/freebsd/lib/libutil/libutil.h
+++ b/freebsd/lib/libutil/libutil.h
@@ -40,7 +40,7 @@
#define _LIBUTIL_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#include <sys/_stdint.h>
#ifndef _GID_T_DECLARED
diff --git a/freebsd/sys/netinet/in.h b/freebsd/sys/netinet/in.h
index 92ba45a6..dc5e50e1 100644
--- a/freebsd/sys/netinet/in.h
+++ b/freebsd/sys/netinet/in.h
@@ -34,7 +34,7 @@
#define _NETINET_IN_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#ifndef __rtems__
#include <machine/endian.h>
#else /* __rtems__ */
diff --git a/freebsd/sys/sys/sbuf.h b/freebsd/sys/sys/sbuf.h
index 5fa9e00f..9816a4cd 100644
--- a/freebsd/sys/sys/sbuf.h
+++ b/freebsd/sys/sys/sbuf.h
@@ -31,7 +31,7 @@
#ifndef _SYS_SBUF_H_
#define _SYS_SBUF_H_
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
struct sbuf;
typedef int (sbuf_drain_func)(void *, const char *, int);
diff --git a/freebsd/sys/sys/socket.h b/freebsd/sys/sys/socket.h
index ff592cc0..fb2a2788 100644
--- a/freebsd/sys/sys/socket.h
+++ b/freebsd/sys/sys/socket.h
@@ -34,7 +34,7 @@
#define _SYS_SOCKET_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#include <sys/_iovec.h>
#include <machine/_align.h>
diff --git a/freebsd/sys/sys/stdint.h b/freebsd/sys/sys/stdint.h
index ca3b1ee0..3a9931b0 100644
--- a/freebsd/sys/sys/stdint.h
+++ b/freebsd/sys/sys/stdint.h
@@ -30,7 +30,7 @@
#define _SYS_STDINT_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#ifndef __rtems__
#include <machine/_stdint.h>
diff --git a/freebsd/sys/sys/syslog.h b/freebsd/sys/sys/syslog.h
index 5407a67e..6f128314 100644
--- a/freebsd/sys/sys/syslog.h
+++ b/freebsd/sys/sys/syslog.h
@@ -186,7 +186,7 @@ CODE facilitynames[] = {
* __va_list from <sys/_types.h> and use it.
*/
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
__BEGIN_DECLS
void closelog(void);
diff --git a/freebsd/sys/sys/un.h b/freebsd/sys/sys/un.h
index 9db3c6d9..7837e76e 100644
--- a/freebsd/sys/sys/un.h
+++ b/freebsd/sys/sys/un.h
@@ -34,7 +34,7 @@
#define _SYS_UN_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/_types.h>
+#include <sys/_types.h>
#ifndef _SA_FAMILY_T_DECLARED
typedef __sa_family_t sa_family_t;