mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-01 02:21:25 +08:00
C++ compatiblity for kernel space header
This commit is contained in:
parent
25e5265719
commit
54e8636b8d
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user