summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/mutex.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-03-04 00:05:21 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2007-03-04 00:05:21 +0000
commit0924954a436fe55698686e4c750e777fb058ad25 (patch)
tree7c574d341803991b0c9a1fea7a6a06624f81f99f /sysdeps/generic/bits/mutex.h
parent47f99033b358fb41d7c9f8f2b2f8aa221cbcc387 (diff)
2006-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
* libpthread/include/pthread/pthread.h: Add the restrict keyword where appropriate for full compliance. * libpthread/pthread/pt-internal.h: Likewise. * libpthread/sysdeps/generic/bits/mutex.h: Likewise. * libpthread/sysdeps/generic/bits/rwlock.h: Likewise. * libpthread/TODO: Drop that TODO item.
Diffstat (limited to 'sysdeps/generic/bits/mutex.h')
-rw-r--r--sysdeps/generic/bits/mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/bits/mutex.h b/sysdeps/generic/bits/mutex.h
index 2e32d78..feb6d07 100644
--- a/sysdeps/generic/bits/mutex.h
+++ b/sysdeps/generic/bits/mutex.h
@@ -69,8 +69,8 @@ struct __pthread_mutex
# endif
_EXTERN_INLINE int
-pthread_mutex_init (struct __pthread_mutex *__mutex,
- const pthread_mutexattr_t *attr)
+pthread_mutex_init (struct __pthread_mutex *__restrict __mutex,
+ const pthread_mutexattr_t *__restrict attr)
{
struct __pthread_mutex initialized_mutex = __PTHREAD_MUTEX_INITIALIZER;