This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi! bits/libc-lock.h prevents gcc bootstrapping (in addition to the sys/wait.h issue I posted recently). That's because it includes libc-lock.h without __USE_UNIX98 being defined. Also, I wonder whether the weak_extern resp. #pragma weak part at the end of libc-lock.h shouldn't be surrounded by #ifdef _LIBC. 2000-04-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/libc-lock.h: Only declare __pthread_rwlock_* if __USE_UNIX98. --- libc/linuxthreads/sysdeps/pthread/bits/libc-lock.h.jj Tue Mar 14 08:30:37 2000 +++ libc/linuxthreads/sysdeps/pthread/bits/libc-lock.h Thu Apr 20 11:46:30 2000 @@ -209,6 +209,7 @@ extern int __pthread_mutexattr_destroy ( extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind); +#ifdef __USE_UNIX98 extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock, __const pthread_rwlockattr_t *__attr); @@ -223,6 +224,7 @@ extern int __pthread_rwlock_wrlock (pthr extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock); extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock); +#endif extern int __pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)); Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |