summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2007-11-28 10:24:39 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2007-11-28 10:24:39 +0000
commit48eef4917df9596f3728cc691acc9d56faf37de2 (patch)
tree040e028d759c26fc3661bb232edcf87f509ba15b /lib/libc
parent540196d1d09ee5446b7ad66f7d3df83842ac3998 (diff)
remove unused function
ok otto@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/setlocale.c11
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];