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/libmisc/error | |
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 'c/src/lib/libmisc/error')
-rw-r--r-- | c/src/lib/libmisc/error/error.c | 3 | ||||
-rw-r--r-- | c/src/lib/libmisc/error/error.h | 9 |
2 files changed, 5 insertions, 7 deletions
diff --git a/c/src/lib/libmisc/error/error.c b/c/src/lib/libmisc/error/error.c index 715635072a..5bd481c3e6 100644 --- a/c/src/lib/libmisc/error/error.c +++ b/c/src/lib/libmisc/error/error.c @@ -1,7 +1,4 @@ /* - * @(#)error.c 1.6 - 95/12/12 - * - * * report errors and panics to RTEMS' stderr. * Currently just used by RTEMS monitor. * diff --git a/c/src/lib/libmisc/error/error.h b/c/src/lib/libmisc/error/error.h index 621ee16f65..e4d8c77200 100644 --- a/c/src/lib/libmisc/error/error.h +++ b/c/src/lib/libmisc/error/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; |