diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-30 14:07:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-30 14:07:37 +0000 |
commit | 75061954c11e799afd1d9d787bd3b62a151d8011 (patch) | |
tree | a43f178cab23c3cfd7fddb03b679ba4ebeca86ca /c | |
parent | Added a special CPU model of "rtems_multilib". This is the beginnings (diff) | |
download | rtems-75061954c11e799afd1d9d787bd3b62a151d8011.tar.bz2 |
Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to make
error.h C++ safe.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libc/error.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/lib/libc/error.h b/c/src/lib/libc/error.h index a0698afb5d..de6e1715db 100644 --- a/c/src/lib/libc/error.h +++ b/c/src/lib/libc/error.h @@ -7,6 +7,10 @@ #ifndef __RTEMS_ERROR_h #define __RTEMS_ERROR_h +#ifdef __cplusplus +extern "C" { +#endif + /* * rtems_error() and rtems_panic() support */ @@ -34,5 +38,10 @@ void rtems_panic(const char *printf_format, ...); extern int rtems_panic_in_progress; +#ifdef __cplusplus +} +#endif + + #endif /* end of include file */ |