summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-12-26 17:00:50 +0000
committerchristos <christos@NetBSD.org>2017-12-26 17:00:50 +0000
commit41808a78e9377d50bb1c2c0b5f3e38fbe55724ec (patch)
treeba93d73c7043dc282dd2c8441b2012819c6af689 /lib/libpthread
parentc2079753e99ea323db608ec530191060dbde44a5 (diff)
Needs to be protected since it has a timespec argument. Found by lint(1)
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/pthread.h b/lib/libpthread/pthread.h
index fed32216529..24f214700f5 100644
--- a/lib/libpthread/pthread.h
+++ b/lib/libpthread/pthread.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.h,v 1.38 2016/10/30 23:26:33 kamil Exp $ */
+/* $NetBSD: pthread.h,v 1.39 2017/12/26 17:00:50 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -94,8 +94,10 @@ int pthread_mutex_destroy(pthread_mutex_t *);
int pthread_mutex_lock(pthread_mutex_t *);
int pthread_mutex_trylock(pthread_mutex_t *);
int pthread_mutex_unlock(pthread_mutex_t *);
+#ifndef __LIBC12_SOURCE__
int pthread_mutex_timedlock(pthread_mutex_t * __restrict,
const struct timespec * __restrict);
+#endif
int pthread_mutex_getprioceiling(const pthread_mutex_t * __restrict,
int * __restrict);
int pthread_mutex_setprioceiling(pthread_mutex_t * __restrict, int,