mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
This commit is contained in:
@@ -17,7 +17,7 @@ static void apb_access_loop_task(void *ignore);
|
||||
static volatile bool apb_access_corrupt;
|
||||
static TaskHandle_t apb_task_handle;
|
||||
|
||||
void start_apb_access_loop()
|
||||
void start_apb_access_loop(void)
|
||||
{
|
||||
apb_access_corrupt = false;
|
||||
xTaskCreatePinnedToCore(apb_access_loop_task, "accessAPB", 2048, NULL,
|
||||
@@ -25,7 +25,7 @@ void start_apb_access_loop()
|
||||
&apb_task_handle, !UNITY_FREERTOS_CPU);
|
||||
}
|
||||
|
||||
void verify_apb_access_loop()
|
||||
void verify_apb_access_loop(void)
|
||||
{
|
||||
vTaskDelete(apb_task_handle);
|
||||
apb_task_handle = NULL;
|
||||
@@ -45,11 +45,11 @@ static void apb_access_loop_task(void *ignore)
|
||||
|
||||
#else /*CONFIG_FREERTOS_UNICORE */
|
||||
|
||||
void start_apb_access_loop()
|
||||
void start_apb_access_loop(void)
|
||||
{
|
||||
}
|
||||
|
||||
void verify_apb_access_loop()
|
||||
void verify_apb_access_loop(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
Does nothing in unicore mode.
|
||||
*/
|
||||
void start_apb_access_loop();
|
||||
void start_apb_access_loop(void);
|
||||
|
||||
/* verify_apb_access_loop() kills the task started by start_apb_access_loop()
|
||||
and verifies that none of the APB reads were corrupted by unsafe DPORT reads.
|
||||
*/
|
||||
void verify_apb_access_loop();
|
||||
void verify_apb_access_loop(void);
|
||||
|
||||
Reference in New Issue
Block a user