refactor(job-queue): change free functions
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/test-mem Pipeline was successful

This commit is contained in:
Jef Roosens 2023-04-04 14:57:31 +02:00
parent ec6e217801
commit 07f793d768
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 28 additions and 29 deletions

View file

@ -38,7 +38,7 @@ typedef struct vieter_job_failure_report {
vieter_job_failure_report *vieter_job_failure_report_init();
void vieter_job_failure_report_free(vieter_job_failure_report **ptp);
void vieter_job_failure_report_free(vieter_job_failure_report *report);
/*
* Represents a job currently being processed in the system. A job migrates
@ -62,7 +62,7 @@ typedef struct vieter_job {
*/
vieter_job *vieter_job_init();
void vieter_job_free(vieter_job **ptp);
void vieter_job_free(vieter_job *job);
/*
* Represents the actual queue managing the list of jobs.
@ -87,7 +87,7 @@ vieter_job_queue *vieter_job_queue_init();
/*
* Free a job queue.
*/
void vieter_job_queue_free(vieter_job_queue **ptp);
void vieter_job_queue_free(vieter_job_queue *queue);
/*
* Insert the given job into the system.