From 9d1e72a175495da5e6fb65582909169fd4b8a4a3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 30 Sep 2002 02:51:22 +0000 Subject: * environ.cc (environ_init): Avoid a compiler warning. * path.cc (path_conv::check): Ditto. * path.h (path_conv::operator int): Ditto. * regex/engine.c: Ditto throughout. * regex/regcomp.c: Ditto throughout. * regex/regexec.c: Ditto throughout. --- winsup/cygwin/thread.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/thread.h') diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index 77a461ffd..9490ee947 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -254,7 +254,7 @@ template void List::forEach (void (*callback)(ListNode *)) { ListNode *aNode = head; - while (aNode) + while (aNode) { callback (aNode); aNode = aNode->next; @@ -293,7 +293,7 @@ public: static bool isGoodInitializerOrObject(pthread_mutex_t const *); static void initMutex (); static int init (pthread_mutex_t *, const pthread_mutexattr_t *); - + CRITICAL_SECTION criticalsection; HANDLE win32_obj_id; LONG condwaits; @@ -355,7 +355,7 @@ public: virtual void exit (void *value_ptr); virtual int cancel (); - + virtual void testcancel (); static void static_cancel_self (); @@ -459,7 +459,7 @@ public: static int wait (sem_t * sem); static int trywait (sem_t * sem); static int post (sem_t * sem); - + HANDLE win32_obj_id; class semaphore * next; int shared; -- cgit v1.2.3