diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-23 14:27:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-23 14:27:15 +0000 |
commit | 253dde08b8179de19a76da87bb11c04fe823b8d6 (patch) | |
tree | 5c8ee1af79ffdbd02d28245dd3fcdb0b75b68843 /cpukit/libcsupport/include/rtems/error.h | |
parent | 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-253dde08b8179de19a76da87bb11c04fe823b8d6.tar.bz2 |
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
libcsupport/include/rtems/libcsupport.h: Add missing includes.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/error.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/error.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/include/rtems/error.h b/cpukit/libcsupport/include/rtems/error.h index 51650ea53b..6c589e8e94 100644 --- a/cpukit/libcsupport/include/rtems/error.h +++ b/cpukit/libcsupport/include/rtems/error.h @@ -11,6 +11,7 @@ #ifndef _RTEMS_RTEMS_ERROR_H #define _RTEMS_RTEMS_ERROR_H +#include <rtems/rtems/status.h> #include <rtems/score/interr.h> #ifdef __cplusplus @@ -37,7 +38,7 @@ typedef Internal_errors_t rtems_error_code_t; #define RTEMS_ERROR_MASK \ (RTEMS_ERROR_ERRNO | RTEMS_ERROR_ABORT | RTEMS_ERROR_PANIC) /* all */ -const char *rtems_status_text(rtems_status_code); +const char *rtems_status_text(rtems_status_code sc); int rtems_error( rtems_error_code_t error_code, const char *printf_format, |