diff options
author | Roland McGrath <roland@gnu.org> | 1999-05-29 18:59:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-05-29 18:59:10 +0000 |
commit | 6d597f3a0e2ca5b5170b1fd41cdc7719c72f2954 (patch) | |
tree | 07d8d0a0b32ae1390d13f752c9fbbf6ae5108888 /libthreads | |
parent | 413748cb0c446f04f702ad1703afd02de8bbaf0e (diff) |
1999-05-29 Roland McGrath <roland@baalperazim.frob.com>
* cthreads.h (mutex_clear): Change from syntax error to no-op (with
warning avoidance).
Diffstat (limited to 'libthreads')
-rw-r--r-- | libthreads/cthreads.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |