summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-05-10 07:29:14 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-05-10 07:29:14 +0000
commitcd9564e1cd88d45a551d61e862b630e1c9a940d4 (patch)
tree085b3cf2ebef9b959cbd88c23cb231b121632aba
parent2007-05-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-cd9564e1cd88d45a551d61e862b630e1c9a940d4.tar.bz2
Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.
-rw-r--r--cpukit/include/rtems/bsd/sys/queue.h2
-rw-r--r--cpukit/libcsupport/include/sys/ioccom.h2
-rw-r--r--cpukit/libnetworking/arpa/inet.h2
-rw-r--r--cpukit/libnetworking/arpa/nameser.h2
-rw-r--r--cpukit/libnetworking/libc/gethostbydns.c2
-rw-r--r--cpukit/libnetworking/libc/res_stubs.c2
-rw-r--r--cpukit/libnetworking/machine/in_cksum.h2
-rw-r--r--cpukit/libnetworking/net/ethernet.h2
-rw-r--r--cpukit/libnetworking/net/if.h2
-rw-r--r--cpukit/libnetworking/net/if_dl.h2
-rw-r--r--cpukit/libnetworking/netdb.h2
-rw-r--r--cpukit/libnetworking/netinet/ip.h2
-rw-r--r--cpukit/libnetworking/netinet/tcp.h2
-rw-r--r--cpukit/libnetworking/resolv.h2
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h2
-rw-r--r--cpukit/libnetworking/sys/libkern.h2
-rw-r--r--cpukit/libnetworking/sys/mount.h2
-rw-r--r--cpukit/libnetworking/sys/poll.h2
-rw-r--r--cpukit/libnetworking/sys/socket.h2
-rw-r--r--cpukit/libnetworking/sys/sysctl.h2
-rw-r--r--cpukit/libnetworking/sys/syslog.h2
-rw-r--r--cpukit/libnetworking/sys/uio.h2
-rw-r--r--cpukit/libnetworking/sys/un.h2
-rw-r--r--cpukit/librpc/include/rpc/auth.h2
-rw-r--r--cpukit/librpc/include/rpc/auth_unix.h2
-rw-r--r--cpukit/librpc/include/rpc/clnt.h2
-rw-r--r--cpukit/librpc/include/rpc/clnt_soc.h2
-rw-r--r--cpukit/librpc/include/rpc/pmap_clnt.h2
-rw-r--r--cpukit/librpc/include/rpc/pmap_prot.h2
-rw-r--r--cpukit/librpc/include/rpc/pmap_rmt.h2
-rw-r--r--cpukit/librpc/include/rpc/svc.h2
-rw-r--r--cpukit/librpc/include/rpc/svc_soc.h2
-rw-r--r--cpukit/librpc/include/rpc/xdr.h2
-rw-r--r--cpukit/librpc/include/rpcsvc/ypclnt.h2
34 files changed, 34 insertions, 34 deletions
diff --git a/cpukit/include/rtems/bsd/sys/queue.h b/cpukit/include/rtems/bsd/sys/queue.h
index b7537289a1..a8579ced09 100644
--- a/cpukit/include/rtems/bsd/sys/queue.h
+++ b/cpukit/include/rtems/bsd/sys/queue.h
@@ -33,7 +33,7 @@
#ifndef _RTEMS_BSD_SYS_QUEUE_H
#define _RTEMS_BSD_SYS_QUEUE_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* This file defines four types of data structures: singly-linked lists,
diff --git a/cpukit/libcsupport/include/sys/ioccom.h b/cpukit/libcsupport/include/sys/ioccom.h
index ed90a01a93..ed1fe8bc86 100644
--- a/cpukit/libcsupport/include/sys/ioccom.h
+++ b/cpukit/libcsupport/include/sys/ioccom.h
@@ -88,7 +88,7 @@
#ifndef KERNEL
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#ifndef __ioctl_command_defined
typedef u_int32_t ioctl_command_t;
diff --git a/cpukit/libnetworking/arpa/inet.h b/cpukit/libnetworking/arpa/inet.h
index d1032cf0be..22a0932d92 100644
--- a/cpukit/libnetworking/arpa/inet.h
+++ b/cpukit/libnetworking/arpa/inet.h
@@ -62,7 +62,7 @@
/* External definitions for functions in inet(3), addr2ascii(3) */
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <rtems/bsdnet/_types.h>
#define INET_ADDRSTRLEN 16
diff --git a/cpukit/libnetworking/arpa/nameser.h b/cpukit/libnetworking/arpa/nameser.h
index b4d6236aff..0ba6c30a1e 100644
--- a/cpukit/libnetworking/arpa/nameser.h
+++ b/cpukit/libnetworking/arpa/nameser.h
@@ -63,7 +63,7 @@
#define BIND_4_COMPAT
#include <sys/types.h>
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* revision information. this is the release date in YYYYMMDD format.
diff --git a/cpukit/libnetworking/libc/gethostbydns.c b/cpukit/libnetworking/libc/gethostbydns.c
index 4ec9702f36..e75d17d3fd 100644
--- a/cpukit/libnetworking/libc/gethostbydns.c
+++ b/cpukit/libnetworking/libc/gethostbydns.c
@@ -57,7 +57,7 @@
#include "config.h"
#endif
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <sys/types.h>
#include <sys/param.h>
diff --git a/cpukit/libnetworking/libc/res_stubs.c b/cpukit/libnetworking/libc/res_stubs.c
index 2cd9ba70c7..5bb415a94c 100644
--- a/cpukit/libnetworking/libc/res_stubs.c
+++ b/cpukit/libnetworking/libc/res_stubs.c
@@ -43,7 +43,7 @@
#endif
#include <sys/types.h>
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
__weak_reference(__inet_addr, inet_addr);
__weak_reference(__inet_aton, inet_aton);
diff --git a/cpukit/libnetworking/machine/in_cksum.h b/cpukit/libnetworking/machine/in_cksum.h
index ff3c667502..284e43d9a6 100644
--- a/cpukit/libnetworking/machine/in_cksum.h
+++ b/cpukit/libnetworking/machine/in_cksum.h
@@ -39,7 +39,7 @@
#ifndef _MACHINE_IN_CKSUM_H_
#define _MACHINE_IN_CKSUM_H_ 1
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* It it useful to have an Internet checksum routine which is inlineable
diff --git a/cpukit/libnetworking/net/ethernet.h b/cpukit/libnetworking/net/ethernet.h
index 380ee1bad0..3051af077a 100644
--- a/cpukit/libnetworking/net/ethernet.h
+++ b/cpukit/libnetworking/net/ethernet.h
@@ -369,7 +369,7 @@ extern char *ether_sprintf(const u_int8_t *);
#else /* _KERNEL */
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* Ethernet address conversion/parsing routines.
diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h
index 52c27e05d0..1137f762a7 100644
--- a/cpukit/libnetworking/net/if.h
+++ b/cpukit/libnetworking/net/if.h
@@ -37,7 +37,7 @@
#ifndef _NET_IF_H_
#define _NET_IF_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#if defined(__rtems__)
/*
diff --git a/cpukit/libnetworking/net/if_dl.h b/cpukit/libnetworking/net/if_dl.h
index e739316be8..757f1f13f0 100644
--- a/cpukit/libnetworking/net/if_dl.h
+++ b/cpukit/libnetworking/net/if_dl.h
@@ -74,7 +74,7 @@ struct sockaddr_dl {
#ifndef _KERNEL
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
__BEGIN_DECLS
void link_addr(const char *, struct sockaddr_dl *);
diff --git a/cpukit/libnetworking/netdb.h b/cpukit/libnetworking/netdb.h
index 50a168fe6d..5c206f12e2 100644
--- a/cpukit/libnetworking/netdb.h
+++ b/cpukit/libnetworking/netdb.h
@@ -65,7 +65,7 @@
#ifndef _NETDB_H_
#define _NETDB_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <rtems/bsdnet/_types.h>
#ifndef _SOCKLEN_T_DECLARED
diff --git a/cpukit/libnetworking/netinet/ip.h b/cpukit/libnetworking/netinet/ip.h
index a17d0194c3..04625b95a6 100644
--- a/cpukit/libnetworking/netinet/ip.h
+++ b/cpukit/libnetworking/netinet/ip.h
@@ -37,7 +37,7 @@
#ifndef _NETINET_IP_H_
#define _NETINET_IP_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* Definitions for internet protocol version 4.
diff --git a/cpukit/libnetworking/netinet/tcp.h b/cpukit/libnetworking/netinet/tcp.h
index 96e28710c1..9bd4a1454c 100644
--- a/cpukit/libnetworking/netinet/tcp.h
+++ b/cpukit/libnetworking/netinet/tcp.h
@@ -37,7 +37,7 @@
#ifndef _NETINET_TCP_H_
#define _NETINET_TCP_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#if __BSD_VISIBLE
diff --git a/cpukit/libnetworking/resolv.h b/cpukit/libnetworking/resolv.h
index 33b97a043f..9e45285a6e 100644
--- a/cpukit/libnetworking/resolv.h
+++ b/cpukit/libnetworking/resolv.h
@@ -59,7 +59,7 @@
#include <sys/param.h>
#include <sys/types.h>
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <stdio.h>
/*
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index 5b09958401..30ac74a99a 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -73,7 +73,7 @@ void microtime (struct timeval *tv);
* Since we can't have two sys/types.h files, we'll hack around
* and copy the contents of the BSD sys/types.h to here....
*/
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
typedef u_int64_t u_quad_t; /* quads */
typedef int64_t quad_t;
diff --git a/cpukit/libnetworking/sys/libkern.h b/cpukit/libnetworking/sys/libkern.h
index fd09ced07f..3c0b025714 100644
--- a/cpukit/libnetworking/sys/libkern.h
+++ b/cpukit/libnetworking/sys/libkern.h
@@ -37,7 +37,7 @@
#ifndef _SYS_LIBKERN_H_
#define _SYS_LIBKERN_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <sys/types.h>
/* BCD conversions. */
diff --git a/cpukit/libnetworking/sys/mount.h b/cpukit/libnetworking/sys/mount.h
index c9349d7d9a..fc4fa66c23 100644
--- a/cpukit/libnetworking/sys/mount.h
+++ b/cpukit/libnetworking/sys/mount.h
@@ -116,7 +116,7 @@ typedef struct fhandle fhandle_t;
#else /* !_KERNEL */
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#endif /* _KERNEL */
diff --git a/cpukit/libnetworking/sys/poll.h b/cpukit/libnetworking/sys/poll.h
index 9ea42b9ddf..8237ba303c 100644
--- a/cpukit/libnetworking/sys/poll.h
+++ b/cpukit/libnetworking/sys/poll.h
@@ -31,7 +31,7 @@
#ifndef _SYS_POLL_H_
#define _SYS_POLL_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* This file is intended to be compatible with the traditional poll.h.
diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h
index 592a08af44..45bb9151f3 100644
--- a/cpukit/libnetworking/sys/socket.h
+++ b/cpukit/libnetworking/sys/socket.h
@@ -37,7 +37,7 @@
#ifndef _SYS_SOCKET_H_
#define _SYS_SOCKET_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <rtems/bsdnet/_types.h>
/*
diff --git a/cpukit/libnetworking/sys/sysctl.h b/cpukit/libnetworking/sys/sysctl.h
index f9c7417151..8a05ad86d9 100644
--- a/cpukit/libnetworking/sys/sysctl.h
+++ b/cpukit/libnetworking/sys/sysctl.h
@@ -630,7 +630,7 @@ int sysctl_find_oid(int *name, u_int namelen, struct sysctl_oid **noid,
int sysctl_wire_old_buffer(struct sysctl_req *req, size_t len);
#else /* !_KERNEL */
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
__BEGIN_DECLS
int sysctl(int *, u_int, void *, size_t *, void *, size_t);
diff --git a/cpukit/libnetworking/sys/syslog.h b/cpukit/libnetworking/sys/syslog.h
index affce6887e..8927b8a8ff 100644
--- a/cpukit/libnetworking/sys/syslog.h
+++ b/cpukit/libnetworking/sys/syslog.h
@@ -178,7 +178,7 @@ CODE facilitynames[] = {
#else /* not _KERNEL */
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <stdarg.h>
__BEGIN_DECLS
diff --git a/cpukit/libnetworking/sys/uio.h b/cpukit/libnetworking/sys/uio.h
index 50047c58f4..4a27faa8fa 100644
--- a/cpukit/libnetworking/sys/uio.h
+++ b/cpukit/libnetworking/sys/uio.h
@@ -37,7 +37,7 @@
#ifndef _SYS_UIO_H_
#define _SYS_UIO_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* XXX
diff --git a/cpukit/libnetworking/sys/un.h b/cpukit/libnetworking/sys/un.h
index 35425ad1eb..cf169d3274 100644
--- a/cpukit/libnetworking/sys/un.h
+++ b/cpukit/libnetworking/sys/un.h
@@ -37,7 +37,7 @@
#ifndef _SYS_UN_H_
#define _SYS_UN_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <rtems/bsdnet/_types.h>
#ifndef _SA_FAMILY_T_DECLARED
diff --git a/cpukit/librpc/include/rpc/auth.h b/cpukit/librpc/include/rpc/auth.h
index 036089938c..f644532f3e 100644
--- a/cpukit/librpc/include/rpc/auth.h
+++ b/cpukit/librpc/include/rpc/auth.h
@@ -43,7 +43,7 @@
#ifndef _RPC_AUTH_H
#define _RPC_AUTH_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <sys/socket.h>
#define MAX_AUTH_BYTES 400
diff --git a/cpukit/librpc/include/rpc/auth_unix.h b/cpukit/librpc/include/rpc/auth_unix.h
index 4b015b67ab..64632a53ea 100644
--- a/cpukit/librpc/include/rpc/auth_unix.h
+++ b/cpukit/librpc/include/rpc/auth_unix.h
@@ -46,7 +46,7 @@
#ifndef _RPC_AUTH_UNIX_H
#define _RPC_AUTH_UNIX_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/* The machine name is part of a credential; it may not exceed 255 bytes */
#define MAX_MACHINE_NAME 255
diff --git a/cpukit/librpc/include/rpc/clnt.h b/cpukit/librpc/include/rpc/clnt.h
index 85e31d931e..65201c3c48 100644
--- a/cpukit/librpc/include/rpc/clnt.h
+++ b/cpukit/librpc/include/rpc/clnt.h
@@ -64,7 +64,7 @@
#ifndef _RPC_CLNT_H_
#define _RPC_CLNT_H_
#include <rpc/clnt_stat.h>
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#include <sys/un.h>
/*
diff --git a/cpukit/librpc/include/rpc/clnt_soc.h b/cpukit/librpc/include/rpc/clnt_soc.h
index f98c1b9b78..f00a0b6e60 100644
--- a/cpukit/librpc/include/rpc/clnt_soc.h
+++ b/cpukit/librpc/include/rpc/clnt_soc.h
@@ -47,7 +47,7 @@
* with TS-RPC.
*/
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#define UDPMSGSIZE 8800 /* rpc imposed limit on udp msg size */
diff --git a/cpukit/librpc/include/rpc/pmap_clnt.h b/cpukit/librpc/include/rpc/pmap_clnt.h
index 2f4a2780dd..588de77a9d 100644
--- a/cpukit/librpc/include/rpc/pmap_clnt.h
+++ b/cpukit/librpc/include/rpc/pmap_clnt.h
@@ -62,7 +62,7 @@
#ifndef _RPC_PMAPCLNT_H
#define _RPC_PMAPCLNT_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
__BEGIN_DECLS
extern bool_t pmap_set __P((u_long, u_long, int, int));
diff --git a/cpukit/librpc/include/rpc/pmap_prot.h b/cpukit/librpc/include/rpc/pmap_prot.h
index 14f0837bfe..4be20a06ab 100644
--- a/cpukit/librpc/include/rpc/pmap_prot.h
+++ b/cpukit/librpc/include/rpc/pmap_prot.h
@@ -70,7 +70,7 @@
#ifndef _RPC_PMAPPROT_H
#define _RPC_PMAPPROT_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#define PMAPPORT ((u_short)111)
#define PMAPPROG ((u_long)100000)
diff --git a/cpukit/librpc/include/rpc/pmap_rmt.h b/cpukit/librpc/include/rpc/pmap_rmt.h
index e632f8deca..681ebd6e27 100644
--- a/cpukit/librpc/include/rpc/pmap_rmt.h
+++ b/cpukit/librpc/include/rpc/pmap_rmt.h
@@ -40,7 +40,7 @@
#ifndef _RPC_PMAPRMT_H
#define _RPC_PMAPRMT_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
struct rmtcallargs {
u_long prog, vers, proc, arglen;
diff --git a/cpukit/librpc/include/rpc/svc.h b/cpukit/librpc/include/rpc/svc.h
index 4ba04a5894..eaf5ec2008 100644
--- a/cpukit/librpc/include/rpc/svc.h
+++ b/cpukit/librpc/include/rpc/svc.h
@@ -39,7 +39,7 @@
#ifndef _RPC_SVC_H
#define _RPC_SVC_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* This interface must manage two items concerning remote procedure calling:
diff --git a/cpukit/librpc/include/rpc/svc_soc.h b/cpukit/librpc/include/rpc/svc_soc.h
index 359d11e8ba..0c4d987673 100644
--- a/cpukit/librpc/include/rpc/svc_soc.h
+++ b/cpukit/librpc/include/rpc/svc_soc.h
@@ -39,7 +39,7 @@
#ifndef _RPC_SVC_SOC_H
#define _RPC_SVC_SOC_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/* #pragma ident "@(#)svc_soc.h 1.11 94/04/25 SMI" */
/* svc_soc.h 1.8 89/05/01 SMI */
diff --git a/cpukit/librpc/include/rpc/xdr.h b/cpukit/librpc/include/rpc/xdr.h
index 13867875a7..1529f41e7b 100644
--- a/cpukit/librpc/include/rpc/xdr.h
+++ b/cpukit/librpc/include/rpc/xdr.h
@@ -41,7 +41,7 @@
#ifndef _RPC_XDR_H
#define _RPC_XDR_H
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
/*
* XDR provides a conventional way for converting between C data
diff --git a/cpukit/librpc/include/rpcsvc/ypclnt.h b/cpukit/librpc/include/rpcsvc/ypclnt.h
index 0c73147998..edaf191ad1 100644
--- a/cpukit/librpc/include/rpcsvc/ypclnt.h
+++ b/cpukit/librpc/include/rpcsvc/ypclnt.h
@@ -32,7 +32,7 @@
#ifndef _RPCSVC_YPCLNT_H_
#define _RPCSVC_YPCLNT_H_
-#include <sys/cdefs.h>
+#include <rtems/bsd/sys/cdefs.h>
#define YPERR_BADARGS 1 /* args to function are bad */
#define YPERR_RPC 2 /* RPC failure */