From db2286f6d9f8d7715a1f60437a343ffd505f8af4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 4 May 1996 13:57:05 +0000 Subject: * locale/setlocale.c (_nl_C_name): Variable removed. * locale/C_name.c: New file. (_nl_C_name): Put it here instead. * locale/Makefile (aux): Add C_name. * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in auth_user_authenticate rpc. (open): Avoid using strtol in digit conversion for "fd/N" magic. (_dl_sysdep_start): Likewise for memobj name in magic switches. * elf/Makefile (reloc-link): New variable. (dl-allobjs.so): New target, link together $(rtld-routines). (librtld.so): Depend on that instead of the rtld components. (generated): Add dl-allobjs.so. --- locale/C_name.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 locale/C_name.c (limited to 'locale/C_name.c') diff --git a/locale/C_name.c b/locale/C_name.c new file mode 100644 index 0000000000..5e7cb85a09 --- /dev/null +++ b/locale/C_name.c @@ -0,0 +1,7 @@ +/* Define a constant for the name of the standard C locale, so the string + constant is not repeated in dozens of object files. */ + +#include "localeinfo.h" + +/* Name of our standard locale. */ +const char _nl_C_name[] = "C"; -- cgit v1.2.3