Skip to content

Commit 09ce747

Browse files
committed
Remove extern C declaration from local module functions
1 parent 946fae4 commit 09ce747

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ArduinoIoTCloudLPWAN.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static size_t const CBOR_LORA_MSG_MAX_SIZE = 255;
3737
LOCAL MODULE FUNCTIONS
3838
******************************************************************************/
3939

40-
extern "C" unsigned long getTime()
40+
unsigned long getTime()
4141
{
4242
return ArduinoCloud.getInternalTime();
4343
}

src/ArduinoIoTCloudTCP.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ extern RTC_HandleTypeDef RTCHandle;
5959
LOCAL MODULE FUNCTIONS
6060
******************************************************************************/
6161

62-
extern "C" unsigned long getTime()
62+
unsigned long getTime()
6363
{
6464
return ArduinoCloud.getInternalTime();
6565
}
6666

67-
extern "C" void updateTimezoneInfo()
67+
void updateTimezoneInfo()
6868
{
6969
ArduinoCloud.updateInternalTimezoneInfo();
7070
}
7171

72-
extern "C" void setThingIdOutdated()
72+
void setThingIdOutdated()
7373
{
7474
ArduinoCloud.setThingIdOutdatedFlag();
7575
}

0 commit comments

Comments
 (0)