Fix pthread_mutexattr_getrobust_np definition
authorDavid Bartley <dtbartle@glibc.(none)>
Sat, 31 Jan 2009 21:50:27 +0000 (21:50 +0000)
committerDavid Bartley <dtbartle@glibc.(none)>
Sat, 31 Jan 2009 21:50:27 +0000 (21:50 +0000)
nptl/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/pthread.h

index df2b7d0..09c63a0 100644 (file)
@@ -723,10 +723,10 @@ extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
                                     __const struct timespec *__restrict
                                     __abstime) __THROW __nonnull ((1, 2));
-extern int pthread_mutex_reltimedlock (pthread_mutex_t *__restrict __mutex,
+#endif
+extern int pthread_mutex_reltimedlock_np (pthread_mutex_t *__restrict __mutex,
                                     __const struct timespec *__restrict
                                     __reltime) __THROW __nonnull ((1, 2));
-#endif
 
 /* Unlock a mutex.  */
 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)