diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-19 21:09:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-19 21:09:20 +0000 |
commit | 3b76313da986859d9133bfab342009336ac17aff (patch) | |
tree | c3f38c3e94b7dadcceceb3f4ce2cecea6de7c1ad /c/src/exec/rtems/optman/no-signal.c | |
parent | changes to compile in macro configuration without warnings. (diff) | |
download | rtems-3b76313da986859d9133bfab342009336ac17aff.tar.bz2 |
modified to generate fatal error when an unconfigured directive is invoked.
Diffstat (limited to 'c/src/exec/rtems/optman/no-signal.c')
-rw-r--r-- | c/src/exec/rtems/optman/no-signal.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/exec/rtems/optman/no-signal.c b/c/src/exec/rtems/optman/no-signal.c index 59a6f8e72f..fdd90efb38 100644 --- a/c/src/exec/rtems/optman/no-signal.c +++ b/c/src/exec/rtems/optman/no-signal.c @@ -17,6 +17,7 @@ #include <rtems/rtems/status.h> #include <rtems/score/isr.h> #include <rtems/score/thread.h> +#include <rtems/score/interr.h> #include <rtems/rtems/asr.h> #include <rtems/rtems/modes.h> @@ -31,6 +32,11 @@ rtems_status_code rtems_signal_catch( rtems_mode mode_set ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -39,6 +45,11 @@ rtems_status_code rtems_signal_send( rtems_signal_set signal_set ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } |