From 2afde80a0515b931ec7a00326e0c5501739b40f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 3 May 2008 19:57:50 +0200 Subject: Fix configure when -Wunused-parameter is used. --- m4/pthreads.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/pthreads.m4 b/m4/pthreads.m4 index 65d3a9756..ecc580e9a 100644 --- a/m4/pthreads.m4 +++ b/m4/pthreads.m4 @@ -47,7 +47,7 @@ AC_DEFUN([CC_PTHREAD_FLAGS], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include - void *fakethread(void *arg) { return NULL; } + void *fakethread(void *arg) { (void)arg; return NULL; } pthread_t fakevariable; ]], [[pthread_create(&fakevariable, NULL, &fakethread, NULL);]] -- cgit v1.2.3