summaryrefslogtreecommitdiff
path: root/tsd.c
diff options
context:
space:
mode:
authorrpj <rpj>2000-08-22 08:28:24 +0000
committerrpj <rpj>2000-08-22 08:28:24 +0000
commitc1f7196a3b1d069248c8155e593b53ae44b24c62 (patch)
tree25b71b1a32d41fff86b10ac9a742b2a0c2dc2e22 /tsd.c
parenta994c398ae783efcae0d437b707654380f4dde03 (diff)
2000-08-22 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
* private.c (ptw32_throw): Fix exception test; move exceptionInformation declaration. * tsd.c (pthread_key_create): newkey wrongly declared. * pthread.h: Fix comment block.
Diffstat (limited to 'tsd.c')
-rw-r--r--tsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsd.c b/tsd.c
index 491769f..cd80ff9 100644
--- a/tsd.c
+++ b/tsd.c
@@ -64,7 +64,7 @@ pthread_key_create (pthread_key_t * key, void (*destructor) (void *))
*/
{
int result = 0;
- pthread_key_t *newkey;
+ pthread_key_t newkey;
if ((newkey = (pthread_key_t) calloc (1, sizeof (*newkey))) == NULL)
{