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_fullscrape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_fullscrape.c') diff --git a/ot_fullscrape.c b/ot_fullscrape.c index 7a8cca6..b800431 100644 --- a/ot_fullscrape.c +++ b/ot_fullscrape.c @@ -88,11 +88,11 @@ static void *fullscrape_worker(void *args) { } static pthread_t thread_id; -void fullscrape_init( ) { +void fullscrape_init(void) { pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); } -void fullscrape_deinit( ) { +void fullscrape_deinit(void) { pthread_cancel( thread_id ); } -- cgit v1.2.3