change log for rtems (2011-03-24)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Mar 24 10:10:32 UTC 2011


 *ralf*:
2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libnetworking/sys/linker_set.h: Add local versions of __used
	and __CONCAT macros.

M 1.2787  cpukit/ChangeLog
M    1.4  cpukit/libnetworking/sys/linker_set.h

diff -u rtems/cpukit/ChangeLog:1.2786 rtems/cpukit/ChangeLog:1.2787
--- rtems/cpukit/ChangeLog:1.2786	Fri Mar 18 09:12:46 2011
+++ rtems/cpukit/ChangeLog	Thu Mar 24 04:28:31 2011
@@ -1,3 +1,8 @@
+2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libnetworking/sys/linker_set.h: Add local versions of __used
+	and __CONCAT macros.
+
 2011-03-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	* score/src/percpu.c: All possible cpus must be

diff -u rtems/cpukit/libnetworking/sys/linker_set.h:1.3 rtems/cpukit/libnetworking/sys/linker_set.h:1.4
--- rtems/cpukit/libnetworking/sys/linker_set.h:1.3	Sun Jul  9 05:05:27 2006
+++ rtems/cpukit/libnetworking/sys/linker_set.h	Thu Mar 24 04:28:32 2011
@@ -30,6 +30,22 @@
 #ifndef _SYS_LINKER_SET_H_
 #define _SYS_LINKER_SET_H_
 
+/* FIXME: These macros should not be here
+ * BSD has them macros in sys/cdefs.h
+ * older rtems had them in rtems/bsd/sys/cdefs.h
+ * newlib has some of them in sys/cdefs.h
+ */
+
+#if defined(__rtems__)
+#ifndef	__used
+#define	__used		__attribute__((__used__))
+#endif
+#ifndef __CONCAT
+#define	__CONCAT1(x,y)	x ## y
+#define	__CONCAT(x,y)	__CONCAT1(x,y)
+#endif
+#endif
+
 /*
  * The following macros are used to declare global sets of objects, which
  * are collected by the linker into a `linker_set' as defined below.


 *ralf*:
2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libnetworking/ifaddrs.h, libnetworking/netdb.h,
	libnetworking/resolv.h, libnetworking/arpa/inet.h,
	libnetworking/arpa/nameser.h, libnetworking/libc/gethostbydns.c,
	libnetworking/libc/getifaddrs.c, libnetworking/libc/if_indextoname.c,
	libnetworking/libc/if_nameindex.c, libnetworking/libc/res_stubs.c,
	libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
	libnetworking/net/if.h, libnetworking/net/if_dl.h,
	libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
	libnetworking/netinet/tcp_debug.c,
	libnetworking/rtems/rtems_bsdnet_internal.h,
	libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
	libnetworking/sys/poll.h, libnetworking/sys/socket.h,
	libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
	libnetworking/sys/systm.h, libnetworking/sys/uio.h,
	libnetworking/sys/un.h:
	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).

M 1.2788  cpukit/ChangeLog

diff -u rtems/cpukit/ChangeLog:1.2787 rtems/cpukit/ChangeLog:1.2788
--- rtems/cpukit/ChangeLog:1.2787	Thu Mar 24 04:28:31 2011
+++ rtems/cpukit/ChangeLog	Thu Mar 24 04:31:38 2011
@@ -1,5 +1,21 @@
 2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/ifaddrs.h, libnetworking/netdb.h,
+	libnetworking/resolv.h, libnetworking/arpa/inet.h,
+	libnetworking/arpa/nameser.h, libnetworking/libc/gethostbydns.c,
+	libnetworking/libc/getifaddrs.c, libnetworking/libc/if_indextoname.c,
+	libnetworking/libc/if_nameindex.c, libnetworking/libc/res_stubs.c,
+	libnetworking/machine/in_cksum.h, libnetworking/net/ethernet.h,
+	libnetworking/net/if.h, libnetworking/net/if_dl.h,
+	libnetworking/netinet/ip.h, libnetworking/netinet/tcp.h,
+	libnetworking/netinet/tcp_debug.c,
+	libnetworking/rtems/rtems_bsdnet_internal.h,
+	libnetworking/sys/libkern.h, libnetworking/sys/mount.h,
+	libnetworking/sys/poll.h, libnetworking/sys/socket.h,
+	libnetworking/sys/sysctl.h, libnetworking/sys/syslog.h,
+	libnetworking/sys/systm.h, libnetworking/sys/uio.h,
+	libnetworking/sys/un.h:
+	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
 	* libnetworking/sys/linker_set.h: Add local versions of __used
 	and __CONCAT macros.
 


 *ralf*:
2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
	librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
	librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
	librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/rpc_com.h,
	librpc/include/rpc/rpcent.h, librpc/include/rpc/svc.h,
	librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
	librpc/include/rpcsvc/ypclnt.h:
	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).

M 1.2789  cpukit/ChangeLog

diff -u rtems/cpukit/ChangeLog:1.2788 rtems/cpukit/ChangeLog:1.2789
--- rtems/cpukit/ChangeLog:1.2788	Thu Mar 24 04:31:38 2011
+++ rtems/cpukit/ChangeLog	Thu Mar 24 04:33:33 2011
@@ -1,5 +1,13 @@
 2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
+	librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
+	librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,
+	librpc/include/rpc/pmap_rmt.h, librpc/include/rpc/rpc_com.h,
+	librpc/include/rpc/rpcent.h, librpc/include/rpc/svc.h,
+	librpc/include/rpc/svc_soc.h, librpc/include/rpc/xdr.h,
+	librpc/include/rpcsvc/ypclnt.h:
+	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
 	* libnetworking/ifaddrs.h, libnetworking/netdb.h,
 	libnetworking/resolv.h, libnetworking/arpa/inet.h,
 	libnetworking/arpa/nameser.h, libnetworking/libc/gethostbydns.c,


 *ralf*:
Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).

M   1.11  cpukit/libcsupport/include/sys/ioccom.h
M    1.8  cpukit/libnetworking/arpa/inet.h
M    1.4  cpukit/libnetworking/arpa/nameser.h
M    1.2  cpukit/libnetworking/ifaddrs.h
M   1.15  cpukit/libnetworking/libc/gethostbydns.c
M    1.3  cpukit/libnetworking/libc/getifaddrs.c
M    1.3  cpukit/libnetworking/libc/if_indextoname.c
M    1.3  cpukit/libnetworking/libc/if_nameindex.c
M    1.4  cpukit/libnetworking/libc/res_stubs.c
M   1.10  cpukit/libnetworking/machine/in_cksum.h
M   1.10  cpukit/libnetworking/net/ethernet.h
M   1.23  cpukit/libnetworking/net/if.h
M    1.6  cpukit/libnetworking/net/if_dl.h
M    1.7  cpukit/libnetworking/netdb.h
M    1.9  cpukit/libnetworking/netinet/ip.h
M    1.7  cpukit/libnetworking/netinet/tcp.h
M   1.10  cpukit/libnetworking/netinet/tcp_debug.c
M    1.4  cpukit/libnetworking/resolv.h
M   1.38  cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
M    1.5  cpukit/libnetworking/sys/libkern.h
M    1.9  cpukit/libnetworking/sys/mount.h
M    1.3  cpukit/libnetworking/sys/poll.h
M   1.18  cpukit/libnetworking/sys/socket.h
M   1.15  cpukit/libnetworking/sys/sysctl.h
M    1.6  cpukit/libnetworking/sys/syslog.h
M    1.8  cpukit/libnetworking/sys/systm.h
M    1.8  cpukit/libnetworking/sys/uio.h
M    1.6  cpukit/libnetworking/sys/un.h
M    1.5  cpukit/librpc/include/rpc/auth.h
M    1.5  cpukit/librpc/include/rpc/auth_unix.h
M   1.12  cpukit/librpc/include/rpc/clnt.h
M    1.4  cpukit/librpc/include/rpc/clnt_soc.h
M    1.6  cpukit/librpc/include/rpc/pmap_clnt.h
M    1.5  cpukit/librpc/include/rpc/pmap_prot.h
M    1.5  cpukit/librpc/include/rpc/pmap_rmt.h
M    1.5  cpukit/librpc/include/rpc/rpc_com.h
M    1.3  cpukit/librpc/include/rpc/rpcent.h
M   1.11  cpukit/librpc/include/rpc/svc.h
M    1.3  cpukit/librpc/include/rpc/svc_soc.h
M   1.12  cpukit/librpc/include/rpc/xdr.h
M    1.6  cpukit/librpc/include/rpcsvc/ypclnt.h

diff -u rtems/cpukit/libcsupport/include/sys/ioccom.h:1.10 rtems/cpukit/libcsupport/include/sys/ioccom.h:1.11
--- rtems/cpukit/libcsupport/include/sys/ioccom.h:1.10	Wed Feb  4 06:52:22 2009
+++ rtems/cpukit/libcsupport/include/sys/ioccom.h	Thu Mar 24 04:36:14 2011
@@ -88,7 +88,7 @@
 
 #ifndef _KERNEL
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #ifndef __ioctl_command_defined
 typedef u_int32_t ioctl_command_t;

diff -u rtems/cpukit/libnetworking/arpa/inet.h:1.7 rtems/cpukit/libnetworking/arpa/inet.h:1.8
--- rtems/cpukit/libnetworking/arpa/inet.h:1.7	Wed Sep  1 06:12:37 2010
+++ rtems/cpukit/libnetworking/arpa/inet.h	Thu Mar 24 04:31:25 2011
@@ -64,7 +64,7 @@
 
 /* External definitions for functions in inet(3). */
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <rtems/bsdnet/_types.h>
 
 /* Required for byteorder(3) functions. */

diff -u rtems/cpukit/libnetworking/arpa/nameser.h:1.3 rtems/cpukit/libnetworking/arpa/nameser.h:1.4
--- rtems/cpukit/libnetworking/arpa/nameser.h:1.3	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/arpa/nameser.h	Thu Mar 24 04:31:25 2011
@@ -63,7 +63,7 @@
 #define BIND_4_COMPAT
 
 #include <sys/types.h>
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /*
  * revision information.  this is the release date in YYYYMMDD format.

diff -u rtems/cpukit/libnetworking/ifaddrs.h:1.1 rtems/cpukit/libnetworking/ifaddrs.h:1.2
--- rtems/cpukit/libnetworking/ifaddrs.h:1.1	Thu Oct  4 09:23:45 2007
+++ rtems/cpukit/libnetworking/ifaddrs.h	Thu Mar 24 04:31:24 2011
@@ -46,7 +46,7 @@
 #define	ifa_broadaddr	ifa_dstaddr	/* broadcast address interface */
 #endif
  
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 __BEGIN_DECLS
 extern int getifaddrs(struct ifaddrs **);

diff -u rtems/cpukit/libnetworking/libc/gethostbydns.c:1.14 rtems/cpukit/libnetworking/libc/gethostbydns.c:1.15
--- rtems/cpukit/libnetworking/libc/gethostbydns.c:1.14	Wed Apr 14 07:42:11 2010
+++ rtems/cpukit/libnetworking/libc/gethostbydns.c	Thu Mar 24 04:31:25 2011
@@ -57,7 +57,7 @@
 #include "config.h"
 #endif
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #include <sys/types.h>
 #include <sys/param.h>

diff -u rtems/cpukit/libnetworking/libc/getifaddrs.c:1.2 rtems/cpukit/libnetworking/libc/getifaddrs.c:1.3
--- rtems/cpukit/libnetworking/libc/getifaddrs.c:1.2	Sun Mar 28 00:42:02 2010
+++ rtems/cpukit/libnetworking/libc/getifaddrs.c	Thu Mar 24 04:31:25 2011
@@ -33,7 +33,7 @@
 #include "config.h"
 #endif
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #include <sys/types.h>
 #include <sys/ioctl.h>

diff -u rtems/cpukit/libnetworking/libc/if_indextoname.c:1.2 rtems/cpukit/libnetworking/libc/if_indextoname.c:1.3
--- rtems/cpukit/libnetworking/libc/if_indextoname.c:1.2	Sun Mar 28 00:42:03 2010
+++ rtems/cpukit/libnetworking/libc/if_indextoname.c	Thu Mar 24 04:31:25 2011
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #include <sys/types.h>
 #include <sys/socket.h>

diff -u rtems/cpukit/libnetworking/libc/if_nameindex.c:1.2 rtems/cpukit/libnetworking/libc/if_nameindex.c:1.3
--- rtems/cpukit/libnetworking/libc/if_nameindex.c:1.2	Sun Mar 28 00:42:03 2010
+++ rtems/cpukit/libnetworking/libc/if_nameindex.c	Thu Mar 24 04:31:25 2011
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #include <sys/types.h>
 #include <sys/socket.h>

diff -u rtems/cpukit/libnetworking/libc/res_stubs.c:1.3 rtems/cpukit/libnetworking/libc/res_stubs.c:1.4
--- rtems/cpukit/libnetworking/libc/res_stubs.c:1.3	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/libc/res_stubs.c	Thu Mar 24 04:31:25 2011
@@ -43,7 +43,7 @@
 #endif
 
 #include <sys/types.h>
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 __weak_reference(__inet_addr, inet_addr);
 __weak_reference(__inet_aton, inet_aton);

diff -u rtems/cpukit/libnetworking/machine/in_cksum.h:1.9 rtems/cpukit/libnetworking/machine/in_cksum.h:1.10
--- rtems/cpukit/libnetworking/machine/in_cksum.h:1.9	Wed Feb 23 08:28:26 2011
+++ rtems/cpukit/libnetworking/machine/in_cksum.h	Thu Mar 24 04:31:25 2011
@@ -39,7 +39,7 @@
 #ifndef _MACHINE_IN_CKSUM_H_
 #define	_MACHINE_IN_CKSUM_H_	1
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <netinet/ip.h> /* struct ip */
 
 /*

diff -u rtems/cpukit/libnetworking/net/ethernet.h:1.9 rtems/cpukit/libnetworking/net/ethernet.h:1.10
--- rtems/cpukit/libnetworking/net/ethernet.h:1.9	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/net/ethernet.h	Thu Mar 24 04:31:25 2011
@@ -369,7 +369,7 @@
 
 #else /* _KERNEL */
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /*
  * Ethernet address conversion/parsing routines.

diff -u rtems/cpukit/libnetworking/net/if.h:1.22 rtems/cpukit/libnetworking/net/if.h:1.23
--- rtems/cpukit/libnetworking/net/if.h:1.22	Wed Mar  2 08:18:26 2011
+++ rtems/cpukit/libnetworking/net/if.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _NET_IF_H_
 #define	_NET_IF_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #if defined(__rtems__)
 /*

diff -u rtems/cpukit/libnetworking/net/if_dl.h:1.5 rtems/cpukit/libnetworking/net/if_dl.h:1.6
--- rtems/cpukit/libnetworking/net/if_dl.h:1.5	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/net/if_dl.h	Thu Mar 24 04:31:25 2011
@@ -74,7 +74,7 @@
 
 #ifndef _KERNEL
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 __BEGIN_DECLS
 void	link_addr(const char *, struct sockaddr_dl *);

diff -u rtems/cpukit/libnetworking/netdb.h:1.6 rtems/cpukit/libnetworking/netdb.h:1.7
--- rtems/cpukit/libnetworking/netdb.h:1.6	Mon Oct 15 02:59:00 2007
+++ rtems/cpukit/libnetworking/netdb.h	Thu Mar 24 04:31:24 2011
@@ -65,7 +65,7 @@
 #ifndef _NETDB_H_
 #define _NETDB_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <rtems/bsdnet/_types.h>
 
 #ifndef _SOCKLEN_T_DECLARED

diff -u rtems/cpukit/libnetworking/netinet/ip.h:1.8 rtems/cpukit/libnetworking/netinet/ip.h:1.9
--- rtems/cpukit/libnetworking/netinet/ip.h:1.8	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/netinet/ip.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _NETINET_IP_H_
 #define _NETINET_IP_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /*
  * Definitions for internet protocol version 4.

diff -u rtems/cpukit/libnetworking/netinet/tcp.h:1.6 rtems/cpukit/libnetworking/netinet/tcp.h:1.7
--- rtems/cpukit/libnetworking/netinet/tcp.h:1.6	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/netinet/tcp.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _NETINET_TCP_H_
 #define _NETINET_TCP_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #if __BSD_VISIBLE
 

diff -u rtems/cpukit/libnetworking/netinet/tcp_debug.c:1.9 rtems/cpukit/libnetworking/netinet/tcp_debug.c:1.10
--- rtems/cpukit/libnetworking/netinet/tcp_debug.c:1.9	Thu Feb 24 00:48:52 2011
+++ rtems/cpukit/libnetworking/netinet/tcp_debug.c	Thu Mar 24 04:31:25 2011
@@ -34,7 +34,7 @@
 #include "config.h"
 #endif
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include "opt_inet.h"
 #include "opt_tcpdebug.h"
 

diff -u rtems/cpukit/libnetworking/resolv.h:1.3 rtems/cpukit/libnetworking/resolv.h:1.4
--- rtems/cpukit/libnetworking/resolv.h:1.3	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/resolv.h	Thu Mar 24 04:31:25 2011
@@ -59,7 +59,7 @@
 
 #include <sys/param.h>
 #include <sys/types.h>
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <stdio.h>
 
 /*

diff -u rtems/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h:1.37 rtems/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h:1.38
--- rtems/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h:1.37	Wed Feb 17 18:24:25 2010
+++ rtems/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h	Thu Mar 24 04:31:25 2011
@@ -36,7 +36,7 @@
 /* make sure we get the network versions of these */
 #include <machine/types.h>
 #include <machine/param.h>
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #include <sys/time.h>
 

diff -u rtems/cpukit/libnetworking/sys/libkern.h:1.4 rtems/cpukit/libnetworking/sys/libkern.h:1.5
--- rtems/cpukit/libnetworking/sys/libkern.h:1.4	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/sys/libkern.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _SYS_LIBKERN_H_
 #define	_SYS_LIBKERN_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <sys/types.h>
 
 /* BCD conversions. */

diff -u rtems/cpukit/libnetworking/sys/mount.h:1.8 rtems/cpukit/libnetworking/sys/mount.h:1.9
--- rtems/cpukit/libnetworking/sys/mount.h:1.8	Wed Mar  2 06:06:46 2011
+++ rtems/cpukit/libnetworking/sys/mount.h	Thu Mar 24 04:31:25 2011
@@ -116,7 +116,7 @@
 
 #else /* !_KERNEL */
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #endif /* _KERNEL */
 

diff -u rtems/cpukit/libnetworking/sys/poll.h:1.2 rtems/cpukit/libnetworking/sys/poll.h:1.3
--- rtems/cpukit/libnetworking/sys/poll.h:1.2	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/sys/poll.h	Thu Mar 24 04:31:25 2011
@@ -31,7 +31,7 @@
 #ifndef _SYS_POLL_H_
 #define	_SYS_POLL_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /*
  * This file is intended to be compatible with the traditional poll.h.

diff -u rtems/cpukit/libnetworking/sys/socket.h:1.17 rtems/cpukit/libnetworking/sys/socket.h:1.18
--- rtems/cpukit/libnetworking/sys/socket.h:1.17	Wed May 26 23:11:07 2010
+++ rtems/cpukit/libnetworking/sys/socket.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _SYS_SOCKET_H_
 #define	_SYS_SOCKET_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <rtems/bsdnet/_types.h>
 
 /*

diff -u rtems/cpukit/libnetworking/sys/sysctl.h:1.14 rtems/cpukit/libnetworking/sys/sysctl.h:1.15
--- rtems/cpukit/libnetworking/sys/sysctl.h:1.14	Wed Mar  2 06:06:46 2011
+++ rtems/cpukit/libnetworking/sys/sysctl.h	Thu Mar 24 04:31:25 2011
@@ -630,7 +630,7 @@
 int	sysctl_wire_old_buffer(struct sysctl_req *req, size_t len);
 
 #else	/* !_KERNEL */
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 __BEGIN_DECLS
 int	sysctl(int *, u_int, void *, size_t *, void *, size_t);

diff -u rtems/cpukit/libnetworking/sys/syslog.h:1.5 rtems/cpukit/libnetworking/sys/syslog.h:1.6
--- rtems/cpukit/libnetworking/sys/syslog.h:1.5	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/sys/syslog.h	Thu Mar 24 04:31:25 2011
@@ -178,7 +178,7 @@
 
 #else /* not _KERNEL */
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <stdarg.h>
 
 __BEGIN_DECLS

diff -u rtems/cpukit/libnetworking/sys/systm.h:1.7 rtems/cpukit/libnetworking/sys/systm.h:1.8
--- rtems/cpukit/libnetworking/sys/systm.h:1.7	Mon Mar 19 00:40:12 2007
+++ rtems/cpukit/libnetworking/sys/systm.h	Thu Mar 24 04:31:25 2011
@@ -45,6 +45,10 @@
 #include <rtems/rtems_bsdnet_internal.h> /* for __BSD_VA_LIST__ */
 #include <machine/cpufunc.h>
 
+#if !defined(__dead2)
+#define __dead2         __attribute__((__noreturn__))
+#endif
+
 extern int securelevel;		/* system security level (see init(8)) */
 
 extern int cold;		/* nonzero if we are doing a cold boot */

diff -u rtems/cpukit/libnetworking/sys/uio.h:1.7 rtems/cpukit/libnetworking/sys/uio.h:1.8
--- rtems/cpukit/libnetworking/sys/uio.h:1.7	Sun Dec  6 02:16:57 2009
+++ rtems/cpukit/libnetworking/sys/uio.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _SYS_UIO_H_
 #define	_SYS_UIO_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <sys/types.h>
 
 /*

diff -u rtems/cpukit/libnetworking/sys/un.h:1.5 rtems/cpukit/libnetworking/sys/un.h:1.6
--- rtems/cpukit/libnetworking/sys/un.h:1.5	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/sys/un.h	Thu Mar 24 04:31:25 2011
@@ -37,7 +37,7 @@
 #ifndef _SYS_UN_H_
 #define _SYS_UN_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <rtems/bsdnet/_types.h>
 
 #ifndef _SA_FAMILY_T_DECLARED

diff -u rtems/cpukit/librpc/include/rpc/auth.h:1.4 rtems/cpukit/librpc/include/rpc/auth.h:1.5
--- rtems/cpukit/librpc/include/rpc/auth.h:1.4	Thu May 10 02:29:13 2007
+++ rtems/cpukit/librpc/include/rpc/auth.h	Thu Mar 24 04:33:24 2011
@@ -43,7 +43,7 @@
 
 #ifndef _RPC_AUTH_H
 #define _RPC_AUTH_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <sys/socket.h>
 
 #define MAX_AUTH_BYTES	400

diff -u rtems/cpukit/librpc/include/rpc/auth_unix.h:1.4 rtems/cpukit/librpc/include/rpc/auth_unix.h:1.5
--- rtems/cpukit/librpc/include/rpc/auth_unix.h:1.4	Fri Aug  1 00:24:34 2008
+++ rtems/cpukit/librpc/include/rpc/auth_unix.h	Thu Mar 24 04:33:24 2011
@@ -46,7 +46,7 @@
 
 #ifndef _RPC_AUTH_UNIX_H
 #define _RPC_AUTH_UNIX_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /* The machine name is part of a credential; it may not exceed 255 bytes */
 #define MAX_MACHINE_NAME 255

diff -u rtems/cpukit/librpc/include/rpc/clnt.h:1.11 rtems/cpukit/librpc/include/rpc/clnt.h:1.12
--- rtems/cpukit/librpc/include/rpc/clnt.h:1.11	Thu May 27 02:36:23 2010
+++ rtems/cpukit/librpc/include/rpc/clnt.h	Thu Mar 24 04:33:24 2011
@@ -64,7 +64,7 @@
 #ifndef _RPC_CLNT_H_
 #define _RPC_CLNT_H_
 #include <rpc/clnt_stat.h>
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 #include <sys/un.h>
 
 /*

diff -u rtems/cpukit/librpc/include/rpc/clnt_soc.h:1.3 rtems/cpukit/librpc/include/rpc/clnt_soc.h:1.4
--- rtems/cpukit/librpc/include/rpc/clnt_soc.h:1.3	Thu May 10 02:29:13 2007
+++ rtems/cpukit/librpc/include/rpc/clnt_soc.h	Thu Mar 24 04:33:24 2011
@@ -47,7 +47,7 @@
  * with TS-RPC.
  */
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #define UDPMSGSIZE      8800    /* rpc imposed limit on udp msg size */  
 

diff -u rtems/cpukit/librpc/include/rpc/pmap_clnt.h:1.5 rtems/cpukit/librpc/include/rpc/pmap_clnt.h:1.6
--- rtems/cpukit/librpc/include/rpc/pmap_clnt.h:1.5	Fri Aug  1 00:28:58 2008
+++ rtems/cpukit/librpc/include/rpc/pmap_clnt.h	Thu Mar 24 04:33:24 2011
@@ -62,7 +62,7 @@
 
 #ifndef _RPC_PMAPCLNT_H
 #define _RPC_PMAPCLNT_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 __BEGIN_DECLS
 extern bool_t		pmap_set	(u_long, u_long, int, int);

diff -u rtems/cpukit/librpc/include/rpc/pmap_prot.h:1.4 rtems/cpukit/librpc/include/rpc/pmap_prot.h:1.5
--- rtems/cpukit/librpc/include/rpc/pmap_prot.h:1.4	Fri Aug  1 00:30:04 2008
+++ rtems/cpukit/librpc/include/rpc/pmap_prot.h	Thu Mar 24 04:33:24 2011
@@ -70,7 +70,7 @@
 
 #ifndef _RPC_PMAPPROT_H
 #define _RPC_PMAPPROT_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #define PMAPPORT		((u_short)111)
 #define PMAPPROG		((u_long)100000)

diff -u rtems/cpukit/librpc/include/rpc/pmap_rmt.h:1.4 rtems/cpukit/librpc/include/rpc/pmap_rmt.h:1.5
--- rtems/cpukit/librpc/include/rpc/pmap_rmt.h:1.4	Fri Aug  1 00:30:55 2008
+++ rtems/cpukit/librpc/include/rpc/pmap_rmt.h	Thu Mar 24 04:33:24 2011
@@ -40,7 +40,7 @@
 
 #ifndef _RPC_PMAPRMT_H
 #define _RPC_PMAPRMT_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 struct rmtcallargs {
 	u_long prog, vers, proc, arglen;

diff -u rtems/cpukit/librpc/include/rpc/rpc_com.h:1.4 rtems/cpukit/librpc/include/rpc/rpc_com.h:1.5
--- rtems/cpukit/librpc/include/rpc/rpc_com.h:1.4	Thu May 10 02:38:27 2007
+++ rtems/cpukit/librpc/include/rpc/rpc_com.h	Thu Mar 24 04:33:24 2011
@@ -46,7 +46,7 @@
 #ifndef _RPC_RPCCOM_H
 #define	_RPC_RPCCOM_H
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /* #pragma ident	"@(#)rpc_com.h	1.11	93/07/05 SMI" */
 

diff -u rtems/cpukit/librpc/include/rpc/rpcent.h:1.2 rtems/cpukit/librpc/include/rpc/rpcent.h:1.3
--- rtems/cpukit/librpc/include/rpc/rpcent.h:1.2	Sun Dec  7 22:41:26 2008
+++ rtems/cpukit/librpc/include/rpc/rpcent.h	Thu Mar 24 04:33:24 2011
@@ -42,7 +42,7 @@
 #ifndef _RPC_RPCENT_H
 #define _RPC_RPCENT_H
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /*	#pragma ident "@(#)rpcent.h   1.13    94/04/25 SMI"	*/
 /*      @(#)rpcent.h 1.1 88/12/06 SMI   */

diff -u rtems/cpukit/librpc/include/rpc/svc.h:1.10 rtems/cpukit/librpc/include/rpc/svc.h:1.11
--- rtems/cpukit/librpc/include/rpc/svc.h:1.10	Fri Aug  1 11:57:19 2008
+++ rtems/cpukit/librpc/include/rpc/svc.h	Thu Mar 24 04:33:24 2011
@@ -39,7 +39,7 @@
 
 #ifndef _RPC_SVC_H
 #define _RPC_SVC_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /*
  * This interface must manage two items concerning remote procedure calling:

diff -u rtems/cpukit/librpc/include/rpc/svc_soc.h:1.2 rtems/cpukit/librpc/include/rpc/svc_soc.h:1.3
--- rtems/cpukit/librpc/include/rpc/svc_soc.h:1.2	Thu May 10 02:29:14 2007
+++ rtems/cpukit/librpc/include/rpc/svc_soc.h	Thu Mar 24 04:33:24 2011
@@ -39,7 +39,7 @@
 
 #ifndef _RPC_SVC_SOC_H
 #define _RPC_SVC_SOC_H
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 /* #pragma ident   "@(#)svc_soc.h  1.11    94/04/25 SMI" */
 /*      svc_soc.h 1.8 89/05/01 SMI      */

diff -u rtems/cpukit/librpc/include/rpc/xdr.h:1.11 rtems/cpukit/librpc/include/rpc/xdr.h:1.12
--- rtems/cpukit/librpc/include/rpc/xdr.h:1.11	Wed May 26 23:09:05 2010
+++ rtems/cpukit/librpc/include/rpc/xdr.h	Thu Mar 24 04:33:24 2011
@@ -42,7 +42,7 @@
 #ifndef _RPC_XDR_H
 #define _RPC_XDR_H
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #include <rpc/types.h>
 

diff -u rtems/cpukit/librpc/include/rpcsvc/ypclnt.h:1.5 rtems/cpukit/librpc/include/rpcsvc/ypclnt.h:1.6
--- rtems/cpukit/librpc/include/rpcsvc/ypclnt.h:1.5	Fri Aug  1 00:39:53 2008
+++ rtems/cpukit/librpc/include/rpcsvc/ypclnt.h	Thu Mar 24 04:33:24 2011
@@ -32,7 +32,7 @@
 #ifndef _RPCSVC_YPCLNT_H_
 #define _RPCSVC_YPCLNT_H_
 
-#include <rtems/bsd/sys/cdefs.h>
+#include <sys/cdefs.h>
 
 #define YPERR_BADARGS	1		/* args to function are bad */
 #define YPERR_RPC	2		/* RPC failure */


 *ralf*:
2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libcsupport/include/sys/ioccom.h:
	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).

M 1.2790  cpukit/ChangeLog

diff -u rtems/cpukit/ChangeLog:1.2789 rtems/cpukit/ChangeLog:1.2790
--- rtems/cpukit/ChangeLog:1.2789	Thu Mar 24 04:33:33 2011
+++ rtems/cpukit/ChangeLog	Thu Mar 24 04:36:37 2011
@@ -1,5 +1,7 @@
 2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libcsupport/include/sys/ioccom.h:
+	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
 	* librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,
 	librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
 	librpc/include/rpc/pmap_clnt.h, librpc/include/rpc/pmap_prot.h,


 *ralf*:
Add local version of __unused macro.

M   1.11  cpukit/libmisc/shell/hexdump-odsyntax.c
M    1.6  cpukit/libmisc/shell/main_dd.c

diff -u rtems/cpukit/libmisc/shell/hexdump-odsyntax.c:1.10 rtems/cpukit/libmisc/shell/hexdump-odsyntax.c:1.11
--- rtems/cpukit/libmisc/shell/hexdump-odsyntax.c:1.10	Fri Mar 26 12:18:43 2010
+++ rtems/cpukit/libmisc/shell/hexdump-odsyntax.c	Thu Mar 24 04:38:01 2011
@@ -61,6 +61,10 @@
 
 #define PADDING	"         "
 
+#ifndef __unused
+#define __unused __attribute((__unused__))
+#endif
+
 #if RTEMS_REMOVED
 int odmode;
 #endif
@@ -321,7 +325,6 @@
 		}
 	}
 }
-#define __unused
 
 static const char *
 odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char *fmt)

diff -u rtems/cpukit/libmisc/shell/main_dd.c:1.5 rtems/cpukit/libmisc/shell/main_dd.c:1.6
--- rtems/cpukit/libmisc/shell/main_dd.c:1.5	Mon Jan 17 17:05:36 2011
+++ rtems/cpukit/libmisc/shell/main_dd.c	Thu Mar 24 04:38:01 2011
@@ -76,6 +76,10 @@
 #include "dd.h"
 #include "extern-dd.h"
 
+#ifndef __unused
+#define __unused __attribute((__unused__))
+#endif
+
 #define DD_DEFFILEMODE 0
 
 static void dd_close(rtems_shell_dd_globals* globals);


 *ralf*:
2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_dd.c:
	Add local version of __unused macro.

M 1.2791  cpukit/ChangeLog

diff -u rtems/cpukit/ChangeLog:1.2790 rtems/cpukit/ChangeLog:1.2791
--- rtems/cpukit/ChangeLog:1.2790	Thu Mar 24 04:36:37 2011
+++ rtems/cpukit/ChangeLog	Thu Mar 24 04:38:27 2011
@@ -1,5 +1,7 @@
 2011-03-24	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_dd.c:
+	Add local version of __unused macro.
 	* libcsupport/include/sys/ioccom.h:
 	Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
 	* librpc/include/rpc/auth.h, librpc/include/rpc/auth_unix.h,



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110324/ab6f6898/attachment.html>


More information about the vc mailing list