c++: Add extern "C" { } block to header files
Adds extern "C" { } blocks to header files so that they can be safely used by C++ source files. Change-Id: Ia4db0c36a5dac5d3de351184a297d2af0df64532 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
6504b7e72a
commit
a0e4568760
128 changed files with 1035 additions and 3 deletions
|
@ -26,6 +26,10 @@
|
|||
#include <device.h>
|
||||
#include <init.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define QUARK_SE_IPM_OUTBOUND 0
|
||||
#define QUARK_SE_IPM_INBOUND 1
|
||||
|
||||
|
@ -139,5 +143,8 @@ int quark_se_ipm_controller_initialize(struct device *d);
|
|||
SYS_DEFINE_DEVICE(name, &quark_se_ipm_runtime_##name, SECONDARY, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCquark_se_mailboxh */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue