From e68e38b8e85fe4eeb3810727cd3583b5f87a4e70 Mon Sep 17 00:00:00 2001 From: Marcin K Szczodrak Date: Tue, 24 May 2016 16:36:48 -0700 Subject: [PATCH] Feature/integ fix2 (#72) * fix compilation issues * second set of small fixes --- include/openthread-types.h | 1 + include/platform/atomic.h | 2 +- include/platform/radio.h | 2 +- include/platform/serial.h | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/openthread-types.h b/include/openthread-types.h index 029583d09..2d9ed0842 100644 --- a/include/openthread-types.h +++ b/include/openthread-types.h @@ -36,6 +36,7 @@ #define OPENTHREAD_TYPES_H_ #include +#include #ifdef __cplusplus extern "C" { diff --git a/include/platform/atomic.h b/include/platform/atomic.h index 9a62a889f..c8821ac18 100644 --- a/include/platform/atomic.h +++ b/include/platform/atomic.h @@ -55,7 +55,7 @@ extern "C" { /** * Begin critical section. */ -uint32_t otPlatAtomicBegin(); +uint32_t otPlatAtomicBegin(void); /** * End critical section. diff --git a/include/platform/radio.h b/include/platform/radio.h index fc38fe1a1..540ad5379 100644 --- a/include/platform/radio.h +++ b/include/platform/radio.h @@ -162,7 +162,7 @@ ThreadError otPlatRadioSetShortAddress(uint16_t aShortAddress); /** * Intialize the radio. */ -void otPlatRadioInit(); +void otPlatRadioInit(void); /** * Enable the radio. diff --git a/include/platform/serial.h b/include/platform/serial.h index 36255804a..e7e03085d 100644 --- a/include/platform/serial.h +++ b/include/platform/serial.h @@ -113,7 +113,7 @@ const uint8_t *otPlatSerialGetReceivedBytes(uint16_t *aBufLength); /** * Release received bytes. */ -void otPlatSerialHandleReceiveDone(); +void otPlatSerialHandleReceiveDone(void); /** * @}