Another round of sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-28 13:46:28 -04:00
parent b750471e5c
commit 1116aadb6f
135 changed files with 2425 additions and 1355 deletions

View File

@@ -159,12 +159,12 @@ timer_init(void)
}
void
timer_add(pc_timer_t *timer, void (*callback)(void *p), void *p, int start_timer)
timer_add(pc_timer_t *timer, void (*callback)(void *p), void *priv, int start_timer)
{
memset(timer, 0, sizeof(pc_timer_t));
timer->callback = callback;
timer->p = p;
timer->p = priv;
timer->flags = 0;
timer->prev = timer->next = NULL;
if (start_timer)