1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #1790 from BytesGalore/extern_C_in_headers_examples

examples: add extern "C" to headers
This commit is contained in:
René Kijewski 2014-10-11 04:43:47 +02:00
commit 58a10f3272

View File

@ -9,6 +9,10 @@
#ifndef RPL_UDP_H
#define RPL_UDP_H
#ifdef __cplusplus
extern "C" {
#endif
#define APP_VERSION "1.2"
#define RADIO_CHANNEL (10)
@ -96,4 +100,9 @@ extern radio_address_t id;
/** @brief Char array for IP address printing */
extern char addr_str[IPV6_MAX_ADDR_STR_LEN];
#ifdef __cplusplus
}
#endif
#endif /* RPL_UDP_H */