From f04c4686c621f8feb090c71f6e31e12ca6b80324 Mon Sep 17 00:00:00 2001 From: neingeist Date: Mon, 9 Dec 2013 10:35:23 +0100 Subject: [PATCH] make clang happier about unused argc/argv in main() --- threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threads.c b/threads.c index f7cc32d..c2b17f7 100644 --- a/threads.c +++ b/threads.c @@ -21,7 +21,7 @@ void dienomem() { exit(1); } -int main(int argc, char *argv[]) { +int main(void) { pthread_t threads[NUM_THREADS]; for (int t = 0; t < NUM_THREADS; t++) {