From f14b256405ad57f51bbc5818f8f11cb628c1733a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 4 May 1996 10:06:31 +0000 Subject: [lint] (NEVER): Spurious global variable removed. [!lint] (NEVER): Useless macro removed. --- libthreads/cthreads.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libthreads') diff --git a/libthreads/cthreads.h b/libthreads/cthreads.h index 31134b9c..601d3984 100644 --- a/libthreads/cthreads.h +++ b/libthreads/cthreads.h @@ -26,6 +26,9 @@ /* * HISTORY * $Log: cthreads.h,v $ + * Revision 1.11 1996/01/24 18:37:59 roland + * Use prototypes for functions of zero args. + * * Revision 1.10 1995/09/13 19:50:07 mib * (CONDITION_INITIALIZER): Provide initial zero for IMPLICATIONS member. * (condition_init): Bother initializing NAME and IMPLICATIONS members. @@ -230,14 +233,8 @@ typedef char *any_t; #ifndef MACRO_BEGIN -#ifdef lint -int NEVER; -#else lint -#define NEVER 0 -#endif lint - #define MACRO_BEGIN do { -#define MACRO_END } while (NEVER) +#define MACRO_END } while (0) #endif MACRO_BEGIN -- cgit v1.2.3