mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 12:17:47 +00:00
Remove extern "C" from cpp files. (#1595)
This commit is contained in:
@@ -41,10 +41,6 @@
|
||||
|
||||
using namespace Thread;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
ThreadError otIp6SetEnabled(otInstance *aInstance, bool aEnabled)
|
||||
{
|
||||
ThreadError error = kThreadError_None;
|
||||
@@ -220,7 +216,3 @@ uint8_t otIp6PrefixMatch(const otIp6Address *aFirst, const otIp6Address *aSecond
|
||||
exit:
|
||||
return rval;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user