Move definitions of struct pthread_key_struct and destr_function to
authordrepper <drepper>
Sat, 25 Sep 1999 17:02:44 +0000 (17:02 +0000)
committerdrepper <drepper>
Sat, 25 Sep 1999 17:02:44 +0000 (17:02 +0000)
internals.h.

linuxthreads/specific.c

index 1dafecc..6db8043 100644 (file)
 #include "pthread.h"
 #include "internals.h"
 
-typedef void (*destr_function)(void *);
-
 /* Table of keys. */
 
-struct pthread_key_struct {
-  int in_use;                   /* already allocated? */
-  destr_function destr;         /* destruction routine */
-};
-
 static struct pthread_key_struct pthread_keys[PTHREAD_KEYS_MAX] =
   { { 0, NULL } };