mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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…
Reference in New Issue
Block a user