mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 22:57:47 +00:00
Feature/integ fix2 (#72)
* fix compilation issues * second set of small fixes
This commit is contained in:
committed by
Jonathan Hui
parent
f7a0ddc2f9
commit
e68e38b8e8
@@ -36,6 +36,7 @@
|
||||
#define OPENTHREAD_TYPES_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -55,7 +55,7 @@ extern "C" {
|
||||
/**
|
||||
* Begin critical section.
|
||||
*/
|
||||
uint32_t otPlatAtomicBegin();
|
||||
uint32_t otPlatAtomicBegin(void);
|
||||
|
||||
/**
|
||||
* End critical section.
|
||||
|
||||
@@ -162,7 +162,7 @@ ThreadError otPlatRadioSetShortAddress(uint16_t aShortAddress);
|
||||
/**
|
||||
* Intialize the radio.
|
||||
*/
|
||||
void otPlatRadioInit();
|
||||
void otPlatRadioInit(void);
|
||||
|
||||
/**
|
||||
* Enable the radio.
|
||||
|
||||
@@ -113,7 +113,7 @@ const uint8_t *otPlatSerialGetReceivedBytes(uint16_t *aBufLength);
|
||||
/**
|
||||
* Release received bytes.
|
||||
*/
|
||||
void otPlatSerialHandleReceiveDone();
|
||||
void otPlatSerialHandleReceiveDone(void);
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user