diff options
author | rpj <rpj> | 1998-08-06 06:40:50 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-08-06 06:40:50 +0000 |
commit | 9513a4df26d02f1326f31bccedf9e4dc5cfe3801 (patch) | |
tree | 042aa91adaa1918b2f43964a586ad80c9153d057 /implement.h | |
parent | 0f876ad7ecea80b726e6123ef227dedab7e52cf7 (diff) |
Thu Aug 6 15:19:22 1998 Ross Johnson <rpj@swan.canberra.edu.au>
* cleanup.c (_pthread_destructor_pop_all): Add (int) cast to
pthread_getspecific() arg.
(_pthread_destructor_pop): Add (void *) cast to "if" conditional.
(_pthread_destructor_push): Add (void *) cast to
_pthread_handler_push() "key" arg.
(malloc.h): Add include.
Diffstat (limited to 'implement.h')
-rw-r--r-- | implement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/implement.h b/implement.h index 9e542c0..3e270c6 100644 --- a/implement.h +++ b/implement.h @@ -45,7 +45,7 @@ typedef struct { /* Macro to compute the address of a given handler stack. */ #define _PTHREAD_STACK(stack) \ - ((_pthread_handler_node_t *) &(pthread_self())->cleanupstack + stack); + ((_pthread_handler_node_t **) &(pthread_self()->cleanupstack) + stack); /* Macro to compute the table index of a thread entry from it's entry address. */ |