1
0
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:
Kaspar Schleiser 2020-12-02 12:19:31 +01:00
parent e827f0bdf1
commit 2bc7bb4740

View File

@ -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 */