mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-17 20:42:21 +02:00
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
* Original commit: espressif/esp-idf@afbaf74007
This commit is contained in:
@ -134,7 +134,7 @@ private:
|
|||||||
void read_line(char * line, int max_chars);
|
void read_line(char * line, int max_chars);
|
||||||
|
|
||||||
|
|
||||||
extern "C" void app_main()
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
ESP_ERROR_CHECK(nvs_flash_init());
|
ESP_ERROR_CHECK(nvs_flash_init());
|
||||||
tcpip_adapter_init();
|
tcpip_adapter_init();
|
||||||
|
@ -202,7 +202,7 @@ private:
|
|||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void app_main()
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
ESP_ERROR_CHECK(nvs_flash_init());
|
ESP_ERROR_CHECK(nvs_flash_init());
|
||||||
tcpip_adapter_init();
|
tcpip_adapter_init();
|
||||||
|
@ -84,7 +84,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
extern "C" void app_main()
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
ESP_ERROR_CHECK(nvs_flash_init());
|
ESP_ERROR_CHECK(nvs_flash_init());
|
||||||
tcpip_adapter_init();
|
tcpip_adapter_init();
|
||||||
|
@ -66,7 +66,7 @@ private:
|
|||||||
char data_[max_length];
|
char data_[max_length];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern "C" void app_main()
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
ESP_ERROR_CHECK(nvs_flash_init());
|
ESP_ERROR_CHECK(nvs_flash_init());
|
||||||
tcpip_adapter_init();
|
tcpip_adapter_init();
|
||||||
|
Reference in New Issue
Block a user