core/xfa: make externc happy
This commit is contained in:
parent
e827f0bdf1
commit
2bc7bb4740
@ -167,5 +167,13 @@ _Pragma("GCC diagnostic ignored \"-Warray-bounds\"")
|
||||
*/
|
||||
#define XFA_LEN(type, name) (((const char*)name ## _end - (const char*)name) / sizeof(type))
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* making externc happy */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif /* XFA_H */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user