diff options
| author | christos <christos@NetBSD.org> | 2008-12-28 21:33:35 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2008-12-28 21:33:35 +0000 |
| commit | 6c20e81ce21cfe1d5d704366a67008672d7528b8 (patch) | |
| tree | fa1d4436bfb7a33386976b4f52f6bca9c1693a19 /lib/libpthread/pthread_misc.c | |
| parent | ac43585b6e0db120f6bc8ffdb9bcc9aba530c96e (diff) | |
adjust for time_t 64
Diffstat (limited to 'lib/libpthread/pthread_misc.c')
| -rw-r--r-- | lib/libpthread/pthread_misc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libpthread/pthread_misc.c b/lib/libpthread/pthread_misc.c index 1228aec1165..1fd17bec6ff 100644 --- a/lib/libpthread/pthread_misc.c +++ b/lib/libpthread/pthread_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_misc.c,v 1.10 2008/06/28 16:50:43 ad Exp $ */ +/* $NetBSD: pthread_misc.c,v 1.11 2008/12/28 21:33:35 christos Exp $ */ /*- * Copyright (c) 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_misc.c,v 1.10 2008/06/28 16:50:43 ad Exp $"); +__RCSID("$NetBSD: pthread_misc.c,v 1.11 2008/12/28 21:33:35 christos Exp $"); #include <errno.h> #include <string.h> @@ -50,10 +50,10 @@ __RCSID("$NetBSD: pthread_misc.c,v 1.10 2008/06/28 16:50:43 ad Exp $"); int pthread__sched_yield(void); int _sys___sigprocmask14(int, const sigset_t *, sigset_t *); -int _sys_nanosleep(const struct timespec *, struct timespec *); +int _sys___nanosleep50(const struct timespec *, struct timespec *); int _sys_sched_yield(void); +int __nanosleep50(const struct timespec *, struct timespec *); -__strong_alias(_nanosleep, nanosleep) __strong_alias(__libc_thr_sigsetmask,pthread_sigmask) __strong_alias(__sigprocmask14,pthread_sigmask) __strong_alias(__libc_thr_yield,pthread__sched_yield) @@ -152,14 +152,14 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) #ifndef lint int -nanosleep(const struct timespec *rqtp, struct timespec *rmtp) +__nanosleep50(const struct timespec *rqtp, struct timespec *rmtp) { /* * For now, just nanosleep. In the future, maybe pass a ucontext_t * to _lwp_nanosleep() and allow it to recycle our kernel stack. */ - return _sys_nanosleep(rqtp, rmtp); + return _sys___nanosleep50(rqtp, rmtp); } #endif |
