forked from Imagelibrary/rtems
Add extern "C" {} guards.
This commit is contained in:
@@ -14,6 +14,12 @@
|
|||||||
#ifndef _RTEMS_RTEMS_ASSOC_H
|
#ifndef _RTEMS_RTEMS_ASSOC_H
|
||||||
#define _RTEMS_RTEMS_ASSOC_H
|
#define _RTEMS_RTEMS_ASSOC_H
|
||||||
|
|
||||||
|
#include <stdint.h> /* uint32_t */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
uint32_t local_value;
|
uint32_t local_value;
|
||||||
@@ -107,5 +113,8 @@ const char *rtems_assoc_name_bad(
|
|||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ! _INCLUDE_ASSOC_H */
|
#endif /* ! _RTEMS_RTEMS_ASSOC_H */
|
||||||
|
|||||||
@@ -23,6 +23,10 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Malloc Statistics Structure
|
* Malloc Statistics Structure
|
||||||
*/
|
*/
|
||||||
@@ -145,4 +149,8 @@ int rtems_memalign(
|
|||||||
size_t size
|
size_t size
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user