1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11702

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