diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/locale/setlocale.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c index 7217445a3ae..cb4c5269a66 100644 --- a/lib/libc/locale/setlocale.c +++ b/lib/libc/locale/setlocale.c @@ -1,4 +1,4 @@ -/* $OpenBSD: setlocale.c,v 1.16 2007/09/17 07:07:23 moritz Exp $ */ +/* $OpenBSD: setlocale.c,v 1.17 2007/11/28 10:24:38 chl Exp $ */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -77,7 +77,6 @@ static char current_locale_string[_LC_LAST * 33]; static char *currentlocale(void); static void revert_to_default(int); -static int force_locale_enable(int); static int load_locale_sub(int, const char *, int); static char *loadlocale(int); static const char *__get_locale_env(int); @@ -215,14 +214,6 @@ revert_to_default(int category) } static int -force_locale_enable(int category) -{ - revert_to_default(category); - - return 0; -} - -static int load_locale_sub(int category, const char *locname, int isspecial) { char name[PATH_MAX]; |