[packages/crossnacl-newlib] - update from svn

draenog draenog at pld-linux.org
Sat Jul 7 11:14:01 CEST 2012


commit aa022c0aaab3d1898fa144b517ade6438dd7e37f
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Jul 6 23:45:33 2012 +0000

    - update from svn
    
    Changed files:
        pthread.h -> 1.2

 pthread.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pthread.h b/pthread.h
index 44159c9..be00dfd 100644
--- a/pthread.h
+++ b/pthread.h
@@ -156,7 +156,7 @@ typedef struct {
  * @return 0 upon success, 1 otherwise
  */
 extern int pthread_mutex_init(pthread_mutex_t *mutex,
-                              pthread_mutexattr_t *mutex_attr);
+                              const pthread_mutexattr_t *mutex_attr);
 
 /** @nqPosix
 * Destroys a mutex.
@@ -277,7 +277,7 @@ extern int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr,
 * @return 0 for success, 1 otherwise.
 */
 extern int pthread_cond_init(pthread_cond_t *cond,
-                             pthread_condattr_t *cond_attr);
+                             const pthread_condattr_t *cond_attr);
 
 /** @nqPosix
 * Destroys a condition variable.
@@ -342,7 +342,7 @@ extern int pthread_cond_wait(pthread_cond_t *cond,
 */
 int pthread_cond_timedwait_abs(pthread_cond_t *cond,
                                pthread_mutex_t *mutex,
-                               struct timespec *abstime);
+                               const struct timespec *abstime);
 
  /** @nqPosix
 * Waits for condition variable cond to be signaled or broadcast; wait time is
@@ -359,7 +359,7 @@ int pthread_cond_timedwait_abs(pthread_cond_t *cond,
 */
 int pthread_cond_timedwait_rel(pthread_cond_t *cond,
                                pthread_mutex_t *mutex,
-                               struct timespec *reltime);
+                               const struct timespec *reltime);
 
 /**
  * Defined for POSIX compatibility; pthread_cond_timedwait() is actually


More information about the test mailing list