summaryrefslogtreecommitdiff
path: root/sysdeps/stub/bits/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/bits/libc-lock.h')
-rw-r--r--sysdeps/stub/bits/libc-lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/bits/libc-lock.h b/sysdeps/stub/bits/libc-lock.h
index 9efd799dab..c24dcd047a 100644
--- a/sysdeps/stub/bits/libc-lock.h
+++ b/sysdeps/stub/bits/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) \