From e6856c153e14dd66cf4c1e9f839234dbd6724224 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Sun, 19 Apr 2020 04:05:24 +0200 Subject: [PATCH] Cleanup: Fix order of arguments in forward declaration --- src/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stats.c b/src/stats.c index b8a4fb5a..daae57ac 100644 --- a/src/stats.c +++ b/src/stats.c @@ -87,8 +87,8 @@ static volatile event_listener_t *_event_listeners; static void *_stats_thread(void *arg); -static int _compare_stats(void *a, void *b, void *arg); -static int _compare_source_stats(void *a, void *b, void *arg); +static int _compare_stats(void *arg, void *a, void *b); +static int _compare_source_stats(void *arg, void *a, void *b); static int _free_stats(void *key); static int _free_source_stats(void *key); static void _add_event_to_queue(stats_event_t *event, event_queue_t *queue);