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
|
@ -19,6 +19,10 @@
|
|||
|
||||
#include <nanokernel.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CACHE_FLUSHING)
|
||||
#define _sys_cache_flush_sig(x) void (x)(vaddr_t virt, size_t size)
|
||||
|
||||
|
@ -36,4 +40,8 @@
|
|||
#define sys_cache_line_size CONFIG_CACHE_LINE_SIZE
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _cache__h_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue