change log for rtems (2011-02-23)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Feb 23 15:11:15 UTC 2011


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

	* score/include/rtems/score/tod.h: Add missing includes.

M 1.2730  cpukit/ChangeLog
M   1.41  cpukit/score/include/rtems/score/tod.h

diff -u rtems/cpukit/ChangeLog:1.2729 rtems/cpukit/ChangeLog:1.2730
--- rtems/cpukit/ChangeLog:1.2729	Wed Feb 23 08:08:44 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:11:54 2011
@@ -1,5 +1,6 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* score/include/rtems/score/tod.h: Add missing includes.
 	* ftpd/ftpd.h: Add missing includes.
 	* libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h:
 	Fix header guard. Add missing includes.

diff -u rtems/cpukit/score/include/rtems/score/tod.h:1.40 rtems/cpukit/score/include/rtems/score/tod.h:1.41
--- rtems/cpukit/score/include/rtems/score/tod.h:1.40	Fri Nov 27 23:58:54 2009
+++ rtems/cpukit/score/include/rtems/score/tod.h	Wed Feb 23 08:11:55 2011
@@ -19,13 +19,14 @@
 #ifndef _RTEMS_SCORE_TOD_H
 #define _RTEMS_SCORE_TOD_H
 
+#include <time.h>
+#include <rtems/score/timestamp.h>
+#include <rtems/score/basedefs.h> /* SCORE_EXTERN */
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include <rtems/score/timestamp.h>
-#include <time.h>
-
 /** @defgroup ScoreTODConstants TOD Constants
  *  The following constants are related to the time of day and are
  *  independent of RTEMS.


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

	* sapi/include/rtems/fatal.h: Add missing includes.

M 1.2731  cpukit/ChangeLog
M   1.15  cpukit/sapi/include/rtems/fatal.h

diff -u rtems/cpukit/ChangeLog:1.2730 rtems/cpukit/ChangeLog:1.2731
--- rtems/cpukit/ChangeLog:1.2730	Wed Feb 23 08:11:54 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:13:15 2011
@@ -1,5 +1,6 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* sapi/include/rtems/fatal.h: Add missing includes.
 	* score/include/rtems/score/tod.h: Add missing includes.
 	* ftpd/ftpd.h: Add missing includes.
 	* libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h:

diff -u rtems/cpukit/sapi/include/rtems/fatal.h:1.14 rtems/cpukit/sapi/include/rtems/fatal.h:1.15
--- rtems/cpukit/sapi/include/rtems/fatal.h:1.14	Sun Nov 29 07:51:52 2009
+++ rtems/cpukit/sapi/include/rtems/fatal.h	Wed Feb 23 08:13:16 2011
@@ -25,6 +25,8 @@
 #ifndef _RTEMS_FATAL_H
 #define _RTEMS_FATAL_H
 
+#include <rtems/score/basedefs.h> /* RTEMS_COMPILER_NO_RETURN_ATTRIBUTE */
+
 #ifdef __cplusplus
 extern "C" {
 #endif


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

	* posix/include/mqueue.h: Relocate "extern C++" guards.

M 1.2732  cpukit/ChangeLog
M   1.13  cpukit/posix/include/mqueue.h

diff -u rtems/cpukit/ChangeLog:1.2731 rtems/cpukit/ChangeLog:1.2732
--- rtems/cpukit/ChangeLog:1.2731	Wed Feb 23 08:13:15 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:21:52 2011
@@ -1,5 +1,6 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/include/mqueue.h: Relocate "extern C++" guards.
 	* sapi/include/rtems/fatal.h: Add missing includes.
 	* score/include/rtems/score/tod.h: Add missing includes.
 	* ftpd/ftpd.h: Add missing includes.

diff -u rtems/cpukit/posix/include/mqueue.h:1.12 rtems/cpukit/posix/include/mqueue.h:1.13
--- rtems/cpukit/posix/include/mqueue.h:1.12	Mon Jan  5 14:26:01 2009
+++ rtems/cpukit/posix/include/mqueue.h	Wed Feb 23 08:21:53 2011
@@ -16,9 +16,6 @@
 #ifndef _MQUEUE_H
 #define _MQUEUE_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
 
 #include <unistd.h>
 
@@ -29,6 +26,10 @@
 #include <rtems/system.h>
 #include <rtems/score/object.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  *  15.1.1 Data Structures, P1003.1b-1993, p. 271
  */
@@ -161,11 +162,11 @@
   struct mq_attr *mqstat
 );
 
-#endif /* _POSIX_MESSAGE_PASSING */
-
 #ifdef __cplusplus
 }
 #endif
 
+#endif /* _POSIX_MESSAGE_PASSING */
+
 #endif
 /* end of include file */


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

	* libnetworking/vm/vm_kern.h: Comment out unused vars.

M 1.2733  cpukit/ChangeLog
M    1.3  cpukit/libnetworking/vm/vm_kern.h

diff -u rtems/cpukit/ChangeLog:1.2732 rtems/cpukit/ChangeLog:1.2733
--- rtems/cpukit/ChangeLog:1.2732	Wed Feb 23 08:21:52 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:24:34 2011
@@ -1,5 +1,9 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/vm/vm_kern.h: Comment out unused vars.
+
+2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* posix/include/mqueue.h: Relocate "extern C++" guards.
 	* sapi/include/rtems/fatal.h: Add missing includes.
 	* score/include/rtems/score/tod.h: Add missing includes.

diff -u rtems/cpukit/libnetworking/vm/vm_kern.h:1.2 rtems/cpukit/libnetworking/vm/vm_kern.h:1.3
--- rtems/cpukit/libnetworking/vm/vm_kern.h:1.2	Fri Feb 18 04:25:05 2005
+++ rtems/cpukit/libnetworking/vm/vm_kern.h	Wed Feb 23 08:24:35 2011
@@ -67,6 +67,7 @@
 #ifndef _VM_VM_KERN_H_
 #define _VM_VM_KERN_H_ 1
 
+#if !defined(__rtems__)
 /* Kernel memory management definitions. */
 extern vm_map_t buffer_map;
 extern vm_map_t kernel_map;
@@ -75,5 +76,6 @@
 extern vm_map_t exec_map;
 extern vm_map_t pipe_map;
 extern u_int vm_kmem_size;
+#endif
 
 #endif				/* _VM_VM_KERN_H_ */


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

	* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
	libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
	libcsupport/include/rtems/libcsupport.h: Add missing includes.

M 1.2734  cpukit/ChangeLog
M   1.15  cpukit/libcsupport/include/clockdrv.h
M   1.16  cpukit/libcsupport/include/console.h
M   1.12  cpukit/libcsupport/include/rtems/error.h
M   1.27  cpukit/libcsupport/include/rtems/libcsupport.h
M    1.9  cpukit/libcsupport/include/spurious.h

diff -u rtems/cpukit/ChangeLog:1.2733 rtems/cpukit/ChangeLog:1.2734
--- rtems/cpukit/ChangeLog:1.2733	Wed Feb 23 08:24:34 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:27:15 2011
@@ -1,5 +1,11 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
+	libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
+	libcsupport/include/rtems/libcsupport.h: Add missing includes.
+
+2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* libnetworking/vm/vm_kern.h: Comment out unused vars.
 
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/cpukit/libcsupport/include/clockdrv.h:1.14 rtems/cpukit/libcsupport/include/clockdrv.h:1.15
--- rtems/cpukit/libcsupport/include/clockdrv.h:1.14	Fri Sep  5 17:06:31 2008
+++ rtems/cpukit/libcsupport/include/clockdrv.h	Wed Feb 23 08:27:15 2011
@@ -19,6 +19,8 @@
 #ifndef _RTEMS_CLOCKDRV_H
 #define _RTEMS_CLOCKDRV_H
 
+#include <rtems/io.h> /* rtems_device_driver */
+
 #ifdef __cplusplus
 extern "C" {
 #endif

diff -u rtems/cpukit/libcsupport/include/console.h:1.15 rtems/cpukit/libcsupport/include/console.h:1.16
--- rtems/cpukit/libcsupport/include/console.h:1.15	Sun Nov 29 05:57:22 2009
+++ rtems/cpukit/libcsupport/include/console.h	Wed Feb 23 08:27:15 2011
@@ -20,6 +20,8 @@
 #ifndef _RTEMS_CONSOLE_H
 #define _RTEMS_CONSOLE_H
 
+#include <rtems/io.h> /* rtems_device_driver */
+
 #ifdef __cplusplus
 extern "C" {
 #endif

diff -u rtems/cpukit/libcsupport/include/rtems/error.h:1.11 rtems/cpukit/libcsupport/include/rtems/error.h:1.12
--- rtems/cpukit/libcsupport/include/rtems/error.h:1.11	Mon Jun 28 17:13:55 2010
+++ rtems/cpukit/libcsupport/include/rtems/error.h	Wed Feb 23 08:27:15 2011
@@ -11,6 +11,7 @@
 #ifndef _RTEMS_RTEMS_ERROR_H
 #define _RTEMS_RTEMS_ERROR_H
 
+#include <rtems/rtems/status.h>
 #include <rtems/score/interr.h>
 
 #ifdef __cplusplus
@@ -37,7 +38,7 @@
 #define RTEMS_ERROR_MASK \
   (RTEMS_ERROR_ERRNO | RTEMS_ERROR_ABORT | RTEMS_ERROR_PANIC) /* all */
 
-const char *rtems_status_text(rtems_status_code);
+const char *rtems_status_text(rtems_status_code sc);
 int   rtems_error(
   rtems_error_code_t error_code,
   const char *printf_format,

diff -u rtems/cpukit/libcsupport/include/rtems/libcsupport.h:1.26 rtems/cpukit/libcsupport/include/rtems/libcsupport.h:1.27
--- rtems/cpukit/libcsupport/include/rtems/libcsupport.h:1.26	Tue Aug 10 08:15:30 2010
+++ rtems/cpukit/libcsupport/include/rtems/libcsupport.h	Wed Feb 23 08:27:15 2011
@@ -23,6 +23,9 @@
 #include <sys/types.h>
 #include <stdint.h>
 
+#include <rtems/score/heap.h>
+#include <rtems/rtems/tasks.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif

diff -u rtems/cpukit/libcsupport/include/spurious.h:1.8 rtems/cpukit/libcsupport/include/spurious.h:1.9
--- rtems/cpukit/libcsupport/include/spurious.h:1.8	Fri Jan 28 02:04:27 2005
+++ rtems/cpukit/libcsupport/include/spurious.h	Wed Feb 23 08:27:15 2011
@@ -19,6 +19,9 @@
 #ifndef _RTEMS_SPURIOUS_H
 #define _RTEMS_SPURIOUS_H
 
+#include <rtems/rtems/types.h> /* rtems_id */
+#include <rtems/io.h> /* rtems_device_driver */
+
 #ifdef __cplusplus
 extern "C" {
 #endif


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

	* libnetworking/machine/in_cksum.h: Add missing includes.

M 1.2735  cpukit/ChangeLog
M    1.9  cpukit/libnetworking/machine/in_cksum.h

diff -u rtems/cpukit/ChangeLog:1.2734 rtems/cpukit/ChangeLog:1.2735
--- rtems/cpukit/ChangeLog:1.2734	Wed Feb 23 08:27:15 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:28:26 2011
@@ -1,5 +1,6 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/machine/in_cksum.h: Add missing includes.
 	* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
 	libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
 	libcsupport/include/rtems/libcsupport.h: Add missing includes.

diff -u rtems/cpukit/libnetworking/machine/in_cksum.h:1.8 rtems/cpukit/libnetworking/machine/in_cksum.h:1.9
--- rtems/cpukit/libnetworking/machine/in_cksum.h:1.8	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/machine/in_cksum.h	Wed Feb 23 08:28:26 2011
@@ -40,6 +40,7 @@
 #define	_MACHINE_IN_CKSUM_H_	1
 
 #include <rtems/bsd/sys/cdefs.h>
+#include <netinet/ip.h> /* struct ip */
 
 /*
  * It it useful to have an Internet checksum routine which is inlineable


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

	* posix/include/rtems/posix/key.h: Add missing includes.

M 1.2736  cpukit/ChangeLog
M   1.21  cpukit/posix/include/rtems/posix/key.h

diff -u rtems/cpukit/ChangeLog:1.2735 rtems/cpukit/ChangeLog:1.2736
--- rtems/cpukit/ChangeLog:1.2735	Wed Feb 23 08:28:26 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:30:52 2011
@@ -1,5 +1,6 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/include/rtems/posix/key.h: Add missing includes.
 	* libnetworking/machine/in_cksum.h: Add missing includes.
 	* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
 	libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,

diff -u rtems/cpukit/posix/include/rtems/posix/key.h:1.20 rtems/cpukit/posix/include/rtems/posix/key.h:1.21
--- rtems/cpukit/posix/include/rtems/posix/key.h:1.20	Mon Jul 26 17:03:17 2010
+++ rtems/cpukit/posix/include/rtems/posix/key.h	Wed Feb 23 08:30:52 2011
@@ -20,6 +20,8 @@
 #ifndef _RTEMS_POSIX_KEY_H
 #define _RTEMS_POSIX_KEY_H
 
+#include <rtems/score/object.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif


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

	* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.

M 1.2737  cpukit/ChangeLog
M   1.28  cpukit/posix/include/rtems/posix/mqueue.h

diff -u rtems/cpukit/ChangeLog:1.2736 rtems/cpukit/ChangeLog:1.2737
--- rtems/cpukit/ChangeLog:1.2736	Wed Feb 23 08:30:52 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:34:34 2011
@@ -1,5 +1,6 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
 	* posix/include/rtems/posix/key.h: Add missing includes.
 	* libnetworking/machine/in_cksum.h: Add missing includes.
 	* libcsupport/include/clockdrv.h, libcsupport/include/console.h,

diff -u rtems/cpukit/posix/include/rtems/posix/mqueue.h:1.27 rtems/cpukit/posix/include/rtems/posix/mqueue.h:1.28
--- rtems/cpukit/posix/include/rtems/posix/mqueue.h:1.27	Mon Nov 30 09:44:20 2009
+++ rtems/cpukit/posix/include/rtems/posix/mqueue.h	Wed Feb 23 08:34:34 2011
@@ -19,15 +19,15 @@
 #ifndef _RTEMS_POSIX_MQUEUE_H
 #define _RTEMS_POSIX_MQUEUE_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include <signal.h>
 
 #include <rtems/score/coremsg.h>
 #include <rtems/score/object.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  *  Data Structure used to manage a POSIX message queue
  */


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

	* libnetworking/sys/signalvar.h: Comment out unused code.

M 1.2738  cpukit/ChangeLog
M    1.4  cpukit/libnetworking/sys/signalvar.h

diff -u rtems/cpukit/ChangeLog:1.2737 rtems/cpukit/ChangeLog:1.2738
--- rtems/cpukit/ChangeLog:1.2737	Wed Feb 23 08:34:34 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:36:05 2011
@@ -1,5 +1,9 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/sys/signalvar.h: Comment out unused code.
+
+2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
 	* posix/include/rtems/posix/key.h: Add missing includes.
 	* libnetworking/machine/in_cksum.h: Add missing includes.

diff -u rtems/cpukit/libnetworking/sys/signalvar.h:1.3 rtems/cpukit/libnetworking/sys/signalvar.h:1.4
--- rtems/cpukit/libnetworking/sys/signalvar.h:1.3	Sat Mar 17 02:04:49 2007
+++ rtems/cpukit/libnetworking/sys/signalvar.h	Wed Feb 23 08:36:05 2011
@@ -42,6 +42,7 @@
  * not exported to user programs.
  */
 
+#if !defined(__rtems__)
 /*
  * Process signal actions and state, needed only within the process
  * (not necessarily resident).
@@ -60,6 +61,7 @@
 	u_long	ps_code;		/* for core dump/debugger XXX */
 	sigset_t ps_usertramp;		/* SunOS compat; libc sigtramp XXX */
 };
+#endif
 
 /* signal flags */
 #define	SAS_OLDMASK	0x01		/* need to restore mask before pause */
@@ -69,10 +71,12 @@
 #define	SIG_CATCH	((__sighandler_t *)2)
 #define	SIG_HOLD	((__sighandler_t *)3)
 
+#if !defined(__rtems__)
 /*
  * get signal action for process and signal; currently only for current process
  */
 #define SIGACTION(p, sig)	(p->p_sigacts->ps_sigact[(sig)])
+#endif
 
 /*
  * Determine signal that should be delivered to process p, the current


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

	* libnetworking/net/if_pppvar.h: Add "extern C++" guards.
	Add header guard.

M 1.2739  cpukit/ChangeLog
M   1.11  cpukit/libnetworking/net/if_pppvar.h

diff -u rtems/cpukit/ChangeLog:1.2738 rtems/cpukit/ChangeLog:1.2739
--- rtems/cpukit/ChangeLog:1.2738	Wed Feb 23 08:36:05 2011
+++ rtems/cpukit/ChangeLog	Wed Feb 23 08:38:24 2011
@@ -1,5 +1,7 @@
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/net/if_pppvar.h: Add "extern C++" guards.
+	Add header guard.
 	* libnetworking/sys/signalvar.h: Comment out unused code.
 
 2011-02-23	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/cpukit/libnetworking/net/if_pppvar.h:1.10 rtems/cpukit/libnetworking/net/if_pppvar.h:1.11
--- rtems/cpukit/libnetworking/net/if_pppvar.h:1.10	Tue May 27 05:33:22 2008
+++ rtems/cpukit/libnetworking/net/if_pppvar.h	Wed Feb 23 08:38:25 2011
@@ -42,6 +42,13 @@
  * $FreeBSD: src/sys/net/if_pppvar.h,v 1.26 2006/12/05 18:54:21 ume Exp $
  */
 
+#ifndef _NET_IF_PPPVAR_H_
+#define _NET_IF_PPPVAR_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * $Id$
  */
@@ -142,3 +149,10 @@
 #define SC_TX_ESCAPE    0x0004
 #define SC_TX_LASTCHAR	0x0008
 #define SC_TX_PENDING   0x0010
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _NET_IF_PPPVAR_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/20110223/6f6ce9dd/attachment-0001.html>


More information about the vc mailing list