summaryrefslogtreecommitdiff
path: root/tests/libutil/threadpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libutil/threadpool.c')
-rw-r--r--tests/libutil/threadpool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libutil/threadpool.c b/tests/libutil/threadpool.c
index 566239f..cd52ad3 100644
--- a/tests/libutil/threadpool.c
+++ b/tests/libutil/threadpool.c
@@ -40,13 +40,14 @@ static int worker(void *user, void *work_item)
return 0;
}
-int main(void)
+int main(int argc, char **argv)
{
unsigned int values[10];
thread_pool_t *pool;
unsigned int *ptr;
size_t i, count;
int ret;
+ (void)argc; (void)argv;
pool = thread_pool_create(10, worker);
TEST_NOT_NULL(pool);