summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libc/error.h')
-rw-r--r--c/src/lib/libc/error.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/c/src/lib/libc/error.h b/c/src/lib/libc/error.h
index a41f0aa534..621ee16f65 100644
--- a/c/src/lib/libc/error.h
+++ b/c/src/lib/libc/error.h
@@ -1,5 +1,6 @@
+
/*
- * @(#)error.h 1.1 - 95/08/02
+ * @(#)error.h 1.3 - 95/10/25
*
*
* Defines and externs for rtems error reporting
@@ -7,6 +8,9 @@
* $Id$
*/
+#ifndef __RTEMS_ERROR_h
+#define __RTEMS_ERROR_h
+
/*
* rtems_error() and rtems_panic() support
*/
@@ -18,9 +22,11 @@
#define RTEMS_ERROR_MASK (RTEMS_ERROR_ERRNO | RTEMS_ERROR_ABORT | \
RTEMS_ERROR_PANIC) /* all */
-char *rtems_status_text(rtems_status_code);
-int rtems_error(int error_code, char *printf_format, ...);
-void rtems_panic(char *printf_format, ...);
+const char *rtems_status_text(rtems_status_code);
+int rtems_error(int error_code, const char *printf_format, ...);
+void rtems_panic(const char *printf_format, ...);
extern int rtems_panic_in_progress;
+#endif
+/* end of include file */