From edac0815c08a40a6076d7c53eb2acbf5ebf42ec3 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 14 Sep 2015 12:21:04 +0000 Subject: Wrap so internal calls go direct --- lib/libc/locale/setlocale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc/locale/setlocale.c') 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) -- cgit v1.2.3