summaryrefslogtreecommitdiff
path: root/lib/libc/locale/setlocale.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 12:21:04 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 12:21:04 +0000
commitedac0815c08a40a6076d7c53eb2acbf5ebf42ec3 (patch)
treed6eaa117e50dcb538f801d950747bf4e65b48e4b /lib/libc/locale/setlocale.c
parentaa24ee2d65e82a2e54f547b913527b778e42e5f0 (diff)
Wrap <locale.h> so internal calls go direct
Diffstat (limited to 'lib/libc/locale/setlocale.c')
-rw-r--r--lib/libc/locale/setlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index 9b0481df199..b508c217213 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setlocale.c,v 1.23 2015/08/14 14:30:40 stsp Exp $ */
+/* $OpenBSD: setlocale.c,v 1.24 2015/09/14 12:21:03 guenther Exp $ */
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -166,6 +166,7 @@ setlocale(int category, const char *locale)
return (currentlocale());
}
+DEF_STRONG(setlocale);
static char *
currentlocale(void)