about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-08 00:37:56 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-08 00:37:56 +0000
commit727ad8dd5edfc39fa117889df684e8af299344c9 (patch)
tree2314383b5bd9d07578c096be02c0c05445888af4
parentb2b0a411a8f29b097aa6c941e4167ec225737741 (diff)
downloadglibc-727ad8dd5edfc39fa117889df684e8af299344c9.tar.gz
glibc-727ad8dd5edfc39fa117889df684e8af299344c9.tar.xz
glibc-727ad8dd5edfc39fa117889df684e8af299344c9.zip
(__libc_once_define): Add new parameter for object class.
-rw-r--r--sysdeps/stub/libc-lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/libc-lock.h b/sysdeps/stub/libc-lock.h
index 9efd799dab..c24dcd047a 100644
--- a/sysdeps/stub/libc-lock.h
+++ b/sysdeps/stub/libc-lock.h
@@ -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) \