about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread/pthread-functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/pthread/pthread-functions.h')
-rw-r--r--nptl/sysdeps/pthread/pthread-functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/pthread-functions.h b/nptl/sysdeps/pthread/pthread-functions.h
index 17e3f83216..45c7f900c6 100644
--- a/nptl/sysdeps/pthread/pthread-functions.h
+++ b/nptl/sysdeps/pthread/pthread-functions.h
@@ -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 *);