mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 05:40:27 +00:00
Remove extern "C" from cpp files. (#1595)
This commit is contained in:
@@ -75,10 +75,6 @@ otInstance::otInstance(void) :
|
||||
|
||||
using namespace Thread;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void otInstancePostConstructor(otInstance *aInstance)
|
||||
{
|
||||
// restore datasets and network information
|
||||
@@ -251,7 +247,3 @@ ThreadError otSetDynamicLogLevel(otInstance *aInstance, otLogLevel aLogLevel)
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user