diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-04-13 17:35:29 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-04-13 17:35:29 +0200 |
| commit | b0a0432e8d26414d77cfeb81ab2e6c10896c6883 (patch) | |
| tree | 0adec918eedb6712c82eb62ac9239519eeab941a /ot_fullscrape.c | |
| parent | 5d2033ac8932d223a00d7d6e29cedd9b2e23bc7f (diff) | |
Silence warnings about function declaration without a prototype for functions taking void
Diffstat (limited to 'ot_fullscrape.c')
| -rw-r--r-- | ot_fullscrape.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { | |||
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | static pthread_t thread_id; | 90 | static pthread_t thread_id; |
| 91 | void fullscrape_init( ) { | 91 | void fullscrape_init(void) { |
| 92 | pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); | 92 | pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | void fullscrape_deinit( ) { | 95 | void fullscrape_deinit(void) { |
| 96 | pthread_cancel( thread_id ); | 96 | pthread_cancel( thread_id ); |
| 97 | } | 97 | } |
| 98 | 98 | ||
