Revert last 2 updates - these are, of course, not needed at all...
This commit is contained in:
parent
4ebaec0fd9
commit
93e0a20756
|
@ -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.
|
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/param.h>
|
||||||
#include <sys/syscall.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)
|
const void *e, const void *f)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (c != NULL) {
|
return syscall(SYS____lwp_park60, a, b, c, d, e, f);
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue