mirror of
https://github.com/espressif/openthread.git
synced 2026-07-19 10:34:07 +00:00
Remove extern "C" from cpp files. (#1595)
This commit is contained in:
@@ -37,10 +37,6 @@
|
||||
|
||||
using namespace Thread;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
ThreadError otMessageFree(otMessage *aMessage)
|
||||
{
|
||||
return static_cast<Message *>(aMessage)->Free();
|
||||
@@ -177,7 +173,3 @@ void otMessageGetBufferInfo(otInstance *aInstance, otBufferInfo *aBufferInfo)
|
||||
aInstance->mThreadNetif.GetCoapServer().GetCachedResponses().GetInfo(aBufferInfo->mCoapServerMessages,
|
||||
aBufferInfo->mCoapServerBuffers);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user