tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)

This commit is contained in:
Anton Maklakov
2019-07-16 16:33:30 +07:00
parent 50629eec27
commit afbaf74007
507 changed files with 1295 additions and 1295 deletions

View File

@@ -47,7 +47,7 @@ static void event_handler(void* arg, esp_event_base_t event_base,
}
}
static void wifi_init_sta()
static void wifi_init_sta(void)
{
/* Set our event handling */
ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, event_handler, NULL));
@@ -58,7 +58,7 @@ static void wifi_init_sta()
ESP_ERROR_CHECK(esp_wifi_start());
}
static void start_softap_provisioning()
static void start_softap_provisioning(void)
{
/* Security version */
int security = 0;
@@ -82,7 +82,7 @@ static void start_softap_provisioning()
CONFIG_EXAMPLE_SSID, CONFIG_EXAMPLE_PASS, security, pop));
}
void app_main()
void app_main(void)
{
/* Initialize networking stack */
tcpip_adapter_init();