From 67401f7b39a10eb3c4eedabecf180ff587d6c95b Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 27 Aug 2008 16:05:20 +0000 Subject: 2008-08-27 Neal H. Walfield * pthread/cthreads-compat.c: Don't include . (cthread_t): New type definition. (cthread_fn_t): Likewise. (cthread_key_t): Likewise. (CTHREAD_KEY_INVALID): Define. --- pthread/cthreads-compat.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pthread/cthreads-compat.c b/pthread/cthreads-compat.c index ccea03c9..e0536ef2 100644 --- a/pthread/cthreads-compat.c +++ b/pthread/cthreads-compat.c @@ -1,5 +1,5 @@ /* Compatibility routines for cthreads. - Copyright (C) 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 2000, 2002, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,7 +20,11 @@ #include #include -#include +typedef void *cthread_t; +typedef void *(*cthread_fn_t) (void *arg); +typedef int cthread_key_t; + +#define CTHREAD_KEY_INVALID (cthread_key_t) -1 void cthread_detach (cthread_t thread) -- cgit v1.2.3