summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-22 13:47:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-22 13:47:07 +0000
commit7a55888efe76f3b0a1dec2804a1166e2ab885b7e (patch)
tree584b3a4a4ca1b4dafc3ac3937380eb61f1224aa4 /cpukit
parent32ba727717d227c8be72f757f6e481a3e0f9f764 (diff)
downloadrtems-7a55888efe76f3b0a1dec2804a1166e2ab885b7e.tar.bz2
2001-01-22 Michael Hamel <mhamel@adi.co.nz>
* include/rtems.h, src/signalcatch.c: Modifications to make CodeWarrior happy.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/rtems/ChangeLog5
-rw-r--r--cpukit/rtems/include/rtems.h2
-rw-r--r--cpukit/rtems/src/signalcatch.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog
index 43e8ba1170..a5e12514be 100644
--- a/cpukit/rtems/ChangeLog
+++ b/cpukit/rtems/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-22 Michael Hamel <mhamel@adi.co.nz>
+
+ * include/rtems.h, src/signalcatch.c: Modifications to make
+ CodeWarrior happy.
+
2000-12-06 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
diff --git a/cpukit/rtems/include/rtems.h b/cpukit/rtems/include/rtems.h
index e8a13eeaba..99457be2f0 100644
--- a/cpukit/rtems/include/rtems.h
+++ b/cpukit/rtems/include/rtems.h
@@ -30,7 +30,7 @@ extern "C" {
* Define this at your own risk.
*/
-#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
+#if (!defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__)) && (!defined(__RTEMS_INSIDE__))
#define __RTEMS_APPLICATION__
#endif
diff --git a/cpukit/rtems/src/signalcatch.c b/cpukit/rtems/src/signalcatch.c
index d07d1d5fca..676c99b4b6 100644
--- a/cpukit/rtems/src/signalcatch.c
+++ b/cpukit/rtems/src/signalcatch.c
@@ -48,7 +48,7 @@ rtems_status_code rtems_signal_catch(
/* XXX normalize mode */
executing = _Thread_Executing;
- api = executing->API_Extensions[ THREAD_API_RTEMS ];
+ api = (RTEMS_API_Control*)executing->API_Extensions[ THREAD_API_RTEMS ];
asr = &api->Signal;
_Thread_Disable_dispatch(); /* cannot reschedule while */