This is the mail archive of the libc-hacker@sources.redhat.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] |
| Other format: | [Raw text] | |
Hi! pthread_getspecific returns void *, not int. 2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/pthread-functions.h (struct pthread_functions): Fix return type of ptr___pthread_getspecific. --- libc/nptl/sysdeps/pthread/pthread-functions.h.jj3 2003-01-05 05:29:31.000000000 -0500 +++ libc/nptl/sysdeps/pthread/pthread-functions.h 2003-01-30 08:15:03.000000000 -0500 @@ -77,7 +77,7 @@ struct pthread_functions int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *); int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *); int (*ptr___pthread_key_create) (pthread_key_t *, void (*) (void *)); - int (*ptr___pthread_getspecific) (pthread_key_t); + void *(*ptr___pthread_getspecific) (pthread_key_t); int (*ptr___pthread_setspecific) (pthread_key_t, const void *); void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *, void (*) (void *), void *); Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |