summaryrefslogtreecommitdiffstats
path: root/c/src/libmisc/error/error.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:30:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:30:42 +0000
commitbd71da714e2103ad871f6aead7838882f8c87b2c (patch)
tree1c8405ff352691823be72672b8dd29a49237e3de /c/src/libmisc/error/error.h
parentcommented out sccs_id's to eliminate warnings. (diff)
downloadrtems-bd71da714e2103ad871f6aead7838882f8c87b2c.tar.bz2
removed noreturn attribute to eliminate warnings.
Diffstat (limited to 'c/src/libmisc/error/error.h')
-rw-r--r--c/src/libmisc/error/error.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/c/src/libmisc/error/error.h b/c/src/libmisc/error/error.h
index e4d8c77200..a0698afb5d 100644
--- a/c/src/libmisc/error/error.h
+++ b/c/src/libmisc/error/error.h
@@ -21,8 +21,13 @@
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__));
+void rtems_panic(const char *printf_format, ...);
+/*
+ * We should be able to use this attribute but gcc complains that
+ * rtems_panic does in fact return. :(
+ *
+ * __attribute__ ((__noreturn__));
+ */
#else
void rtems_panic(const char *printf_format, ...);
#endif