From 6d597f3a0e2ca5b5170b1fd41cdc7719c72f2954 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 29 May 1999 18:59:10 +0000 Subject: 1999-05-29 Roland McGrath * cthreads.h (mutex_clear): Change from syntax error to no-op (with warning avoidance). --- libthreads/cthreads.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libthreads/cthreads.h b/libthreads/cthreads.h index 601d3984..ec3ed70c 100644 --- a/libthreads/cthreads.h +++ b/libthreads/cthreads.h @@ -26,6 +26,10 @@ /* * HISTORY * $Log: cthreads.h,v $ + * Revision 1.12 1996/05/04 10:06:31 roland + * [lint] (NEVER): Spurious global variable removed. + * [!lint] (NEVER): Useless macro removed. + * * Revision 1.11 1996/01/24 18:37:59 roland * Use prototypes for functions of zero args. * @@ -360,7 +364,7 @@ typedef struct mutex { MACRO_END #define mutex_set_name(m, x) ((m)->name = (x)) #define mutex_name(m) ((m)->name != 0 ? (m)->name : "?") -#define mutex_clear(m) /* nop */??? +#define mutex_clear(m) ((void) 0) /* nop */ #define mutex_free(m) free((any_t) (m)) extern void __mutex_lock_solid (void *mutex); /* blocking -- roland@gnu */ -- cgit v1.2.3