From b0ddb61d0aa3ce7c8bf9546f5fee81f38d75445e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 3 Jun 2009 03:38:38 +0000 Subject: Add extern "C" {} guards. --- cpukit/libcsupport/include/rtems/assoc.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'cpukit/libcsupport/include/rtems/assoc.h') 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 /* 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 */ -- cgit v1.2.3