change log for rtems (2010-12-03)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Dec 3 21:10:24 UTC 2010


 *joel*:
2010-12-03	Joel Sherrill <joel.sherrill at oarcorp.com>

	* configure.ac, posix/src/signal_2.c: sighandler_t is defined
	conditionally in some versions of newlib and unconditionally in
	others. Make sure we always compile.

M 1.2662  cpukit/ChangeLog
M  1.196  cpukit/configure.ac
M    1.5  cpukit/posix/src/signal_2.c

diff -u rtems/cpukit/ChangeLog:1.2661 rtems/cpukit/ChangeLog:1.2662
--- rtems/cpukit/ChangeLog:1.2661	Tue Nov 30 02:15:35 2010
+++ rtems/cpukit/ChangeLog	Fri Dec  3 14:34:24 2010
@@ -1,3 +1,9 @@
+2010-12-03	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* configure.ac, posix/src/signal_2.c: sighandler_t is defined
+	conditionally in some versions of newlib and unconditionally in
+	others. Make sure we always compile.
+
 2010-11-30	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert

diff -u rtems/cpukit/configure.ac:1.195 rtems/cpukit/configure.ac:1.196
--- rtems/cpukit/configure.ac:1.195	Fri Oct  8 04:44:44 2010
+++ rtems/cpukit/configure.ac	Fri Dec  3 14:34:24 2010
@@ -134,7 +134,11 @@
   AC_CHECK_TYPES([pthread_spinlock_t])
 ])
 
-RTEMS_CHECK_MULTIPROCESSING
+AC_CHECK_HEADER([signal.h],[
+  AC_CHECK_TYPES([sighandler_t])
+])
+
+  RTEMS_CHECK_MULTIPROCESSING
 RTEMS_CHECK_POSIX_API
 RTEMS_CHECK_NETWORKING
 

diff -u rtems/cpukit/posix/src/signal_2.c:1.4 rtems/cpukit/posix/src/signal_2.c:1.5
--- rtems/cpukit/posix/src/signal_2.c:1.4	Thu Sep  4 13:54:26 2003
+++ rtems/cpukit/posix/src/signal_2.c	Fri Dec  3 14:34:24 2010
@@ -18,7 +18,9 @@
 #include <signal.h>
 #include <errno.h>
 
-typedef void (*sighandler_t)(int);
+#ifndef HAVE_SIGHANDLER_T
+  typedef void (*sighandler_t)(int);
+#endif
 
 sighandler_t signal(
   int           signum,



--

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/20101203/a332cf39/attachment.html>


More information about the vc mailing list