Move struct pthread_key_struct and destr_function to internals.h.

This commit is contained in:
Ulrich Drepper 1999-09-23 18:05:55 +00:00
parent f3c15dbd97
commit 7939e51494

View File

@ -20,15 +20,8 @@
#include "pthread.h" #include "pthread.h"
#include "internals.h" #include "internals.h"
typedef void (*destr_function)(void *);
/* Table of keys. */ /* 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] = static struct pthread_key_struct pthread_keys[PTHREAD_KEYS_MAX] =
{ { 0, NULL } }; { { 0, NULL } };