Add extern "C" {} guards.

This commit is contained in:
Ralf Corsepius
2009-06-03 03:38:38 +00:00
parent 148e6219ec
commit b0ddb61d0a
2 changed files with 18 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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