diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-06-03 03:39:59 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-06-03 03:39:59 +0000 |
commit | dda372da19aad60a8e39c674792d9398310dc889 (patch) | |
tree | 2738477131f2d34dc212c58ce7ed3dc99c11c6bf /cpukit/libcsupport/include/rtems | |
parent | As per Freescale chip errata, disable buffered writes. (diff) | |
download | rtems-dda372da19aad60a8e39c674792d9398310dc889.tar.bz2 |
Add extern "C" {} guards.
Diffstat (limited to 'cpukit/libcsupport/include/rtems')
-rw-r--r-- | cpukit/libcsupport/include/rtems/assoc.h | 11 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/malloc.h | 8 |
2 files changed, 18 insertions, 1 deletions
diff --git a/cpukit/libcsupport/include/rtems/assoc.h b/cpukit/libcsupport/include/rtems/assoc.h index bfcc467e41..5b72b8d086 100644 --- a/cpukit/libcsupport/include/rtems/assoc.h +++ b/cpukit/libcsupport/include/rtems/assoc.h @@ -14,6 +14,12 @@ #ifndef _RTEMS_RTEMS_ASSOC_H #define _RTEMS_RTEMS_ASSOC_H +#include <stdint.h> /* uint32_t */ + +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { const char *name; uint32_t local_value; @@ -107,5 +113,8 @@ const char *rtems_assoc_name_bad( ); #endif +#ifdef __cplusplus +} +#endif -#endif /* ! _INCLUDE_ASSOC_H */ +#endif /* ! _RTEMS_RTEMS_ASSOC_H */ diff --git a/cpukit/libcsupport/include/rtems/malloc.h b/cpukit/libcsupport/include/rtems/malloc.h index d5b5eb691d..d3018db73c 100644 --- a/cpukit/libcsupport/include/rtems/malloc.h +++ b/cpukit/libcsupport/include/rtems/malloc.h @@ -23,6 +23,10 @@ #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + /* * Malloc Statistics Structure */ @@ -145,4 +149,8 @@ int rtems_memalign( size_t size ); +#ifdef __cplusplus +} +#endif + #endif |