This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/include locale.h
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 4 Aug 2002 01:41:40 -0000
- Subject: libc/include locale.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2002-08-03 18:41:40
Modified files:
include : locale.h
Log message:
2002-08-03 Roland McGrath <roland@redhat.com>
* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.
* include/locale.h: Use libc_hidden_proto for setlocale.
* locale/setlocale.c: Add libc_hidden_def.