Use fake (empty) startup_setlocale for XPG4

This commit is contained in:
Andrey A. Chernov 1995-10-23 02:25:53 +00:00
parent 2c4488fce3
commit 24c9187962

View file

@ -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()