From b0a0432e8d26414d77cfeb81ab2e6c10896c6883 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 13 Apr 2026 17:35:29 +0200 Subject: Silence warnings about function declaration without a prototype for functions taking void --- ot_accesslist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_accesslist.c') diff --git a/ot_accesslist.c b/ot_accesslist.c index 253fe95..f1bb885 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -342,7 +342,7 @@ static void *accesslist_deleter_worker(void *args) { #endif static pthread_t thread_id; -void accesslist_init() { +void accesslist_init(void) { pthread_mutex_init(&g_accesslist_mutex, NULL); pthread_create(&thread_id, NULL, accesslist_worker, NULL); #ifdef WANT_DYNAMIC_ACCESSLIST @@ -444,7 +444,7 @@ void loglist_add_network(const ot_net *net) { pthread_mutex_unlock(&g_lognets_list_mutex); } -void loglist_reset() { +void loglist_reset(void) { pthread_mutex_lock(&g_lognets_list_mutex); free(g_lognets_list.data); g_lognets_list.data = 0; -- cgit v1.2.3