summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_misc.c
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2008-06-28 16:50:43 +0000
committerad <ad@NetBSD.org>2008-06-28 16:50:43 +0000
commitb4c1afd422fa9ce2b22fb7c29b99baee8edce85a (patch)
tree81da8822bf8539654b7efb4af8129e04a5a2a4cf /lib/libpthread/pthread_misc.c
parented4fb1c656df30979a56e3034920e3d9281a8bdd (diff)
Shut lint up.
Diffstat (limited to 'lib/libpthread/pthread_misc.c')
-rw-r--r--lib/libpthread/pthread_misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_misc.c b/lib/libpthread/pthread_misc.c
index 671b370dd42..1228aec1165 100644
--- a/lib/libpthread/pthread_misc.c
+++ b/lib/libpthread/pthread_misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_misc.c,v 1.9 2008/06/24 13:45:07 ad Exp $ */
+/* $NetBSD: pthread_misc.c,v 1.10 2008/06/28 16:50:43 ad 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.9 2008/06/24 13:45:07 ad Exp $");
+__RCSID("$NetBSD: pthread_misc.c,v 1.10 2008/06/28 16:50:43 ad Exp $");
#include <errno.h>
#include <string.h>
@@ -150,6 +150,7 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
return 0;
}
+#ifndef lint
int
nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
{
@@ -160,6 +161,7 @@ nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
*/
return _sys_nanosleep(rqtp, rmtp);
}
+#endif
int
pthread__sched_yield(void)