diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-04 10:06:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-04 10:06:31 +0000 |
commit | f14b256405ad57f51bbc5818f8f11cb628c1733a (patch) | |
tree | d109eaae44d2de0d274923801c4c4f703eb36d72 /libthreads | |
parent | ea6e802e6e9244ff74725c84634607fd5ba1ddfd (diff) |
[lint] (NEVER): Spurious global variable removed.
[!lint] (NEVER): Useless macro removed.
Diffstat (limited to 'libthreads')
-rw-r--r-- | libthreads/cthreads.h | 11 |
1 files changed, 4 insertions, 7 deletions
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 |