Remove extern "C" from cpp files. (#1595)

This commit is contained in:
Jonathan Hui
2017-04-17 10:48:56 -07:00
committed by GitHub
parent 123cbab1ab
commit b36358a362
21 changed files with 6 additions and 163 deletions
-8
View File
@@ -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