2001-01-22 Michael Hamel <mhamel@adi.co.nz>

* include/rtems.h, src/signalcatch.c: Modifications to make
	CodeWarrior happy.
This commit is contained in:
Joel Sherrill
2001-01-22 13:47:07 +00:00
parent 32ba727717
commit 7a55888efe
6 changed files with 14 additions and 4 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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 */

View File

@@ -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.

View File

@@ -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

View File

@@ -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 */