Revert last 2 updates - these are, of course, not needed at all...

This commit is contained in:
kre 2017-12-08 09:59:26 +00:00
parent 4ebaec0fd9
commit 93e0a20756
1 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pthread_compat.c,v 1.5 2017/12/08 09:41:16 kre Exp $ */
/* $NetBSD: pthread_compat.c,v 1.6 2017/12/08 09:59:26 kre Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: pthread_compat.c,v 1.5 2017/12/08 09:41:16 kre Exp $");
__RCSID("$NetBSD: pthread_compat.c,v 1.6 2017/12/08 09:59:26 kre Exp $");
#include <sys/param.h>
#include <sys/syscall.h>
@ -89,12 +89,7 @@ _lwp_park(clockid_t a, int b, const struct timespec *c, lwpid_t d,
const void *e, const void *f)
{
if (c != NULL) {
struct timespec t = *c;
return syscall(SYS____lwp_park60, a, b, &t, d, e, f);
} else
return syscall(SYS____lwp_park60, a, b, NULL, d, e, f);
return syscall(SYS____lwp_park60, a, b, c, d, e, f);
}
int