summaryrefslogtreecommitdiff
path: root/lib/libpthread
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
parented4fb1c656df30979a56e3034920e3d9281a8bdd (diff)
Shut lint up.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_cancelstub.c9
-rw-r--r--lib/libpthread/pthread_misc.c6
2 files changed, 11 insertions, 4 deletions
diff --git a/lib/libpthread/pthread_cancelstub.c b/lib/libpthread/pthread_cancelstub.c
index 8cf022bf63d..e1c0342ab68 100644
--- a/lib/libpthread/pthread_cancelstub.c
+++ b/lib/libpthread/pthread_cancelstub.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_cancelstub.c,v 1.19 2008/04/28 20:23:01 martin Exp $ */
+/* $NetBSD: pthread_cancelstub.c,v 1.20 2008/06/28 16:50:43 ad Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,10 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_cancelstub.c,v 1.19 2008/04/28 20:23:01 martin Exp $");
+__RCSID("$NetBSD: pthread_cancelstub.c,v 1.20 2008/06/28 16:50:43 ad Exp $");
+
+#ifndef lint
+
/*
* This is necessary because the names are always weak (they are not
@@ -562,3 +565,5 @@ __strong_alias(_select, select)
__strong_alias(_wait4, wait4)
__strong_alias(_write, write)
__strong_alias(_writev, writev)
+
+#endif /* !lint */
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)