commit c0e625ea5d47d32110dae6b1cf7671060e5c47bf
parent d1fe8e1bc2f1dc887a9bedca58d5882dff3477c9
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sat, 18 Nov 2023 22:59:56 +0000
Fix trypthread.c to work with old compilers
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/sysdeps/trypthread.c b/src/sysdeps/trypthread.c
@@ -3,8 +3,9 @@
#include <time.h>
#include <pthread.h>
-void *pstart (void *)
+void *pstart (void *arg)
{
+ (void)arg ;
return 0 ;
}