C++ compatiblity for kernel space header

This commit is contained in:
Sebastian Huber 2019-07-18 10:22:03 +02:00
parent 25e5265719
commit 54e8636b8d

View File

@ -58,6 +58,10 @@
#include <machine/rtems-bsd-version.h>
#include <machine/rtems-bsd-kernel-namespace.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Assert */
void rtems_bsd_assert_func(const char *file, int line, const char *func, const char *expr);
@ -94,4 +98,8 @@ void rtems_bsd_assert_func(const char *file, int line, const char *func, const c
#define EDOOFUS __ELASTERROR
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_ */