Skip to content

Commit c6a6475

Browse files
committedJul 18, 2024
Grouped extern C statements
1 parent bc000ac commit c6a6475

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
 

‎src/platform/silabs/efr32/ThreadStackManagerImpl.cpp

+4-7
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,11 @@
4141

4242
extern "C" {
4343
#include "platform-efr32.h"
44-
}
45-
46-
// Forward declaration
47-
extern "C" otInstance * otGetInstance(void);
48-
44+
otInstance * otGetInstance(void);
4945
#if CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI
50-
extern "C" void otAppCliInit(otInstance * aInstance);
51-
#endif
46+
void otAppCliInit(otInstance * aInstance);
47+
#endif // CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI
48+
}
5249

5350
namespace chip {
5451
namespace DeviceLayer {

0 commit comments

Comments
 (0)