From e799281533f3776f7e5604f238bdb15a47f9f230 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 9 Feb 1997 09:29:27 +0000 Subject: [PATCH] Move _PathLocale to data-only file, so setrunelocale() not pick up whole setlocale.c module now. Should go into 2.2 --- lib/libc/locale/setlocale.c | 2 -- lib/libc/locale/table.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c index b2f90725a621..656ed85663f8 100644 --- a/lib/libc/locale/setlocale.c +++ b/lib/libc/locale/setlocale.c @@ -98,8 +98,6 @@ extern int __time_load_locale __P((const char *)); /* strftime.c */ extern int _xpg4_setrunelocale __P((char *)); #endif -char *_PathLocale; - char * setlocale(category, locale) int category; diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c index f74a401ad867..3882d925fd43 100644 --- a/lib/libc/locale/table.c +++ b/lib/libc/locale/table.c @@ -193,3 +193,5 @@ _RuneLocale _DefaultRuneLocale = { _RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale; int __mb_cur_max = 1; + +char *_PathLocale;