]> git.pld-linux.org Git - packages/crossnacl-newlib.git/commitdiff
- update from svn
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 6 Jul 2012 23:45:33 +0000 (23:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pthread.h -> 1.2

pthread.h

index 44159c9cc3003c949bf80f27447ebf330a21ce2c..be00dfd9c89eb979a884dda3e81f54f73db9d0c4 100644 (file)
--- 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
This page took 0.092414 seconds and 4 git commands to generate.