summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-18 22:59:56 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-18 22:59:56 +0000
commitc0e625ea5d47d32110dae6b1cf7671060e5c47bf (patch)
tree0edd0f03d0ddb704a7586e2f967e62a270b9cdb2
parentd1fe8e1bc2f1dc887a9bedca58d5882dff3477c9 (diff)
downloadskalibs-c0e625ea5d47d32110dae6b1cf7671060e5c47bf.tar.xz
Fix trypthread.c to work with old compilers
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/sysdeps/trypthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sysdeps/trypthread.c b/src/sysdeps/trypthread.c
index 8e2e459..37cb339 100644
--- 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 ;
}