summaryrefslogtreecommitdiff
path: root/src/locale/uselocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/uselocale.c')
-rw-r--r--src/locale/uselocale.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/locale/uselocale.c b/src/locale/uselocale.c
index 9c799578..224ef387 100644
--- a/src/locale/uselocale.c
+++ b/src/locale/uselocale.c
@@ -1,5 +1,6 @@
#include "locale_impl.h"
#include "pthread_impl.h"
+#include "libc.h"
locale_t uselocale(locale_t l)
{
@@ -8,3 +9,5 @@ locale_t uselocale(locale_t l)
if (l) self->locale = l;
return old;
}
+
+weak_alias(uselocale, __uselocale);