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:
Peter Mitsis 2016-01-22 12:38:49 -05:00 committed by Anas Nashif
commit a0e4568760
128 changed files with 1035 additions and 3 deletions

View file

@ -19,6 +19,10 @@
#ifndef _kernel_version__h_
#define _kernel_version__h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* The kernel version has been converted from a string to a four-byte
* quantity that is divided into two parts.
@ -40,4 +44,8 @@
extern uint32_t sys_kernel_version_get(void);
#ifdef __cplusplus
}
#endif
#endif /* _kernel_version__h_ */