summaryrefslogtreecommitdiff
path: root/locale/xlocale.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-27 06:41:29 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-27 06:41:29 +0000
commitb50f38778c306b3f0ec0c3ed05acf9ce10508aa4 (patch)
treefb5b26cc02ec01c04f8573a2103b11c412aab6fc /locale/xlocale.c
parent38325923950d9dbdad735aa4bc8ce54977ef572c (diff)
Update.
2002-08-26 Ulrich Drepper <drepper@redhat.com> * libio/Makefile (tests): Add bug-fopena+. * libio/bug-fopena+.c: New file. * stdio-common/tst-swprintf.c (main): Add casts to avoid warnings. * locale/xlocale.c: Fix the last change. The variable still has to end in _data. * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] (__libc_tsd_set): Add _data prefix to variable name.
Diffstat (limited to 'locale/xlocale.c')
-rw-r--r--locale/xlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/xlocale.c b/locale/xlocale.c
index d90437e1f9..854584cca4 100644
--- a/locale/xlocale.c
+++ b/locale/xlocale.c
@@ -66,7 +66,7 @@ __thread void *__libc_tsd_LOCALE = &_nl_global_locale;
__libc_tsd_define (, LOCALE)
/* This is a bad kludge presuming the variable name used by the macros.
Using typeof makes sure to barf if we do not match the macro definition. */
-__typeof (__libc_tsd_LOCALE) __libc_tsd_LOCALE_data = &_nl_global_locale;
+__typeof (__libc_tsd_LOCALE_data) __libc_tsd_LOCALE_data = &_nl_global_locale;
# endif
#endif