Skip to content
Snippets Groups Projects
Commit 366e17ac authored by Jack Styles's avatar Jack Styles Committed by Hugues Kamba Mpiana
Browse files

iot-ntp-client: Add void to functions with no parameters


Signed-off-by: Jack Styles's avatarJack Styles <jack.styles@arm.com>
parent 9b4fa0e4
No related branches found
No related tags found
No related merge requests found
......@@ -436,7 +436,7 @@ iotNtpClientResult_t iotNtpClientInit(const iotNtpClientConfig_t *config)
return IOT_NTP_CLIENT_OK;
}
iotNtpClientResult_t iotNtpClientDeinit()
iotNtpClientResult_t iotNtpClientDeinit(void)
{
int res;
......@@ -585,7 +585,7 @@ iotNtpClientResult_t iotNtpClientAddListener(iotNtpCb_t callback, void *context)
return IOT_NTP_CLIENT_OK;
}
iotNtpClientResult_t iotNtpClientClearListeners()
iotNtpClientResult_t iotNtpClientClearListeners(void)
{
if (ntp_context.state == IOT_NTP_CLIENT_UNINITIALISED) {
LogError("NTP client not initialised");
......
azure-iot-sdk-c: Bug fixes for glue code:
- CMSIS 5 flag return types in `iot_ntp_client.c` and `platform_openiot.c`.
- Missing fallthrough attribute has been added in `iot_ntp_client.c`.
- Adding `(void)` to function that had no prarameters where this was missing in `iot_ntp_client.c`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment