diff options
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 | ||
