From 8389628c1be0f40fb94c1d2859138a09616acf06 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Apr 1996 16:53:46 +0000 Subject: updates from Tony Bennett --- cpukit/libcsupport/include/rtems/assoc.h | 2 -- cpukit/libcsupport/include/rtems/error.h | 9 +++++---- cpukit/libcsupport/src/assoc.c | 3 --- cpukit/libcsupport/src/error.c | 3 --- 4 files changed, 5 insertions(+), 12 deletions(-) (limited to 'cpukit/libcsupport') diff --git a/cpukit/libcsupport/include/rtems/assoc.h b/cpukit/libcsupport/include/rtems/assoc.h index f9a444374c..1982d654ac 100644 --- a/cpukit/libcsupport/include/rtems/assoc.h +++ b/cpukit/libcsupport/include/rtems/assoc.h @@ -1,6 +1,4 @@ /* - * @(#)assoc.h 1.4 - 95/10/25 - * * * Rtems associativity routines. Mainly used to convert a value from * one space to another (eg: our errno's to host errno's and v.v) diff --git a/cpukit/libcsupport/include/rtems/error.h b/cpukit/libcsupport/include/rtems/error.h index 621ee16f65..e4d8c77200 100644 --- a/cpukit/libcsupport/include/rtems/error.h +++ b/cpukit/libcsupport/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; diff --git a/cpukit/libcsupport/src/assoc.c b/cpukit/libcsupport/src/assoc.c index a3eabdb3b5..74387a8c5b 100644 --- a/cpukit/libcsupport/src/assoc.c +++ b/cpukit/libcsupport/src/assoc.c @@ -1,7 +1,4 @@ /* - * @(#)assoc.c 1.6 - 95/10/25 - * - * * assoc.c * rtems assoc routines * diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c index 715635072a..5bd481c3e6 100644 --- a/cpukit/libcsupport/src/error.c +++ b/cpukit/libcsupport/src/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. * -- cgit v1.2.3