about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/thread-m.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/malloc/thread-m.h b/malloc/thread-m.h
index f9367c6782..d9e17397ce 100644
--- a/malloc/thread-m.h
+++ b/malloc/thread-m.h
@@ -1,6 +1,6 @@
 /* Basic platform-independent macro definitions for mutexes and
    thread-specific data.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>, 1996.
 
@@ -74,6 +74,9 @@ typedef void * tsd_key_t;
 #undef mutex_t
 #define mutex_t struct mutex
 
+#undef mutex_init
+#define mutex_init(m) (__mutex_init(m), 0)
+
 #undef mutex_lock
 #define mutex_lock(m) (__mutex_lock(m), 0)