]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__libc_once_define): Add new parameter for object class.
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Aug 1997 00:37:56 +0000 (00:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Aug 1997 00:37:56 +0000 (00:37 +0000)
sysdeps/stub/libc-lock.h

index 9efd799dab51fa8ba0e6864dc53948c9b12655c3..c24dcd047abf9136194f656bca40f64b078b9f55 100644 (file)
@@ -72,7 +72,7 @@
 
 
 /* Define once control variable.  */
-#define __libc_once_define(NAME) int NAME = 0
+#define __libc_once_define(CLASS, NAME) CLASS int NAME = 0
 
 /* Call handler iff the first call.  */
 #define __libc_once(ONCE_CONTROL, INIT_FUNCTION) \