projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update copyright file for recent contributions
[musl]
/
src
/
thread
/
pthread_cond_timedwait.c
diff --git
a/src/thread/pthread_cond_timedwait.c
b/src/thread/pthread_cond_timedwait.c
index
1d0f578
..
1f25c8e
100644
(file)
--- a/
src/thread/pthread_cond_timedwait.c
+++ b/
src/thread/pthread_cond_timedwait.c
@@
-36,7
+36,7
@@
static void cleanup(void *p)
pthread_mutex_lock(cm->m);
}
pthread_mutex_lock(cm->m);
}
-int pthread_cond_timedwait(pthread_cond_t *
c, pthread_mutex_t *m, const struct timespec *
ts)
+int pthread_cond_timedwait(pthread_cond_t *
restrict c, pthread_mutex_t *restrict m, const struct timespec *restrict
ts)
{
struct cm cm = { .c=c, .m=m };
int r, e=0, seq;
{
struct cm cm = { .c=c, .m=m };
int r, e=0, seq;