mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 02:37:31 +02:00
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
* Original commit: espressif/esp-idf@afbaf74007
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
aaba3fc47a
commit
3e753f5e2d
@ -240,7 +240,7 @@ struct pbuf {
|
||||
|
||||
#include "esp32_mock.h"
|
||||
|
||||
uint32_t xTaskGetTickCount();
|
||||
uint32_t xTaskGetTickCount(void);
|
||||
|
||||
|
||||
#endif //MDNS_TEST_MODE
|
||||
|
@ -47,7 +47,7 @@ esp_err_t esp_timer_create(const esp_timer_create_args_t* create_args,
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
uint32_t xTaskGetTickCount()
|
||||
uint32_t xTaskGetTickCount(void)
|
||||
{
|
||||
struct timeval tv;
|
||||
struct timezone tz;
|
||||
@ -95,7 +95,7 @@ void GetLastItem(void *pvBuffer)
|
||||
memcpy(pvBuffer, g_queue, g_size);
|
||||
}
|
||||
|
||||
void ForceTaskDelete()
|
||||
void ForceTaskDelete(void)
|
||||
{
|
||||
g_queue_send_shall_fail = 1;
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ uint32_t xQueueReceive(QueueHandle_t xQueue, void *pvBuffer, TickType_t xTicksTo
|
||||
|
||||
void GetLastItem(void *pvBuffer);
|
||||
|
||||
void ForceTaskDelete();
|
||||
void ForceTaskDelete(void);
|
||||
|
||||
esp_err_t esp_event_handler_register(const char * event_base, int32_t event_id, void* event_handler, void* event_handler_arg);
|
||||
|
||||
|
@ -18,7 +18,7 @@ static mdns_search_once_t * _mdns_search_init(const char * name, const char * se
|
||||
static esp_err_t _mdns_send_search_action(mdns_action_type_t type, mdns_search_once_t * search);
|
||||
static void _mdns_search_free(mdns_search_once_t * search);
|
||||
|
||||
void mdns_test_init_di()
|
||||
void mdns_test_init_di(void)
|
||||
{
|
||||
mdns_test_static_execute_action = _mdns_execute_action;
|
||||
mdns_test_static_mdns_get_service_item = _mdns_get_service_item;
|
||||
|
@ -34,7 +34,7 @@ mdns_srv_item_t * mdns_test_mdns_get_service_item(const char * service, const ch
|
||||
mdns_search_once_t * mdns_test_search_init(const char * name, const char * service, const char * proto, uint16_t type, uint32_t timeout, uint8_t max_results);
|
||||
esp_err_t mdns_test_send_search_action(mdns_action_type_t type, mdns_search_once_t * search);
|
||||
void mdns_test_search_free(mdns_search_once_t * search);
|
||||
void mdns_test_init_di();
|
||||
void mdns_test_init_di(void);
|
||||
|
||||
//
|
||||
// mdns function wrappers for mdns setup in test mode
|
||||
@ -98,7 +98,7 @@ static mdns_result_t* mdns_test_query(const char * service_name, const char * pr
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void mdns_test_query_free()
|
||||
static void mdns_test_query_free(void)
|
||||
{
|
||||
mdns_test_search_free(search);
|
||||
}
|
||||
|
Reference in New Issue
Block a user