Skip to content

Commit

Permalink
Remove extern C declaration from local module functions
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Feb 4, 2022
1 parent e0a1d5a commit 12d3b26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ArduinoIoTCloudLPWAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static size_t const CBOR_LORA_MSG_MAX_SIZE = 255;
LOCAL MODULE FUNCTIONS
******************************************************************************/

extern "C" unsigned long getTime()
unsigned long getTime()
{
return ArduinoCloud.getInternalTime();
}
Expand Down
6 changes: 3 additions & 3 deletions src/ArduinoIoTCloudTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ extern RTC_HandleTypeDef RTCHandle;
LOCAL MODULE FUNCTIONS
******************************************************************************/

extern "C" unsigned long getTime()
unsigned long getTime()
{
return ArduinoCloud.getInternalTime();
}

extern "C" void updateTimezoneInfo()
void updateTimezoneInfo()
{
ArduinoCloud.updateInternalTimezoneInfo();
}

extern "C" void setThingIdOutdated()
void setThingIdOutdated()
{
ArduinoCloud.setThingIdOutdatedFlag();
}
Expand Down

0 comments on commit 12d3b26

Please sign in to comment.