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

@@ -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)
{
}

View File

@@ -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);