From 24c9187962b92fa6d49a92db7af005e783c9f3f2 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 23 Oct 1995 02:25:53 +0000 Subject: [PATCH] Use fake (empty) startup_setlocale for XPG4 --- lib/libc/locale/setlocale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c index cb5da653e4e..11f21398e76 100644 --- a/lib/libc/locale/setlocale.c +++ b/lib/libc/locale/setlocale.c @@ -175,16 +175,16 @@ setlocale(category, locale) return (NULL); } -#ifndef XPG4 -/* To be compatible with old binaries */ +/* To be compatible with crt0 hack */ void _startup_setlocale(category, locale) int category; const char *locale; { +#ifndef XPG4 (void) setlocale(category, locale); -} #endif +} static char * currentlocale()