diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-22 16:53:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-22 16:53:46 +0000 |
commit | 8389628c1be0f40fb94c1d2859138a09616acf06 (patch) | |
tree | 0d58d8f544ace76749af5bfb6b0adac7f5cc191e /c/src/lib/include/rtems/error.h | |
parent | addition of optional user provided stack allocator means that we can not (diff) | |
download | rtems-8389628c1be0f40fb94c1d2859138a09616acf06.tar.bz2 |
updates from Tony Bennett
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/include/rtems/error.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/lib/include/rtems/error.h b/c/src/lib/include/rtems/error.h index 621ee16f65..e4d8c77200 100644 --- a/c/src/lib/include/rtems/error.h +++ b/c/src/lib/include/rtems/error.h @@ -1,8 +1,4 @@ - /* - * @(#)error.h 1.3 - 95/10/25 - * - * * Defines and externs for rtems error reporting * * $Id$ @@ -24,7 +20,12 @@ const char *rtems_status_text(rtems_status_code); int rtems_error(int error_code, const char *printf_format, ...); +#ifdef __GNUC__ +void rtems_panic(const char *printf_format, ...) + __attribute__ ((__noreturn__)); +#else void rtems_panic(const char *printf_format, ...); +#endif extern int rtems_panic_in_progress; |