mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use fake (empty) startup_setlocale for XPG4
This commit is contained in:
parent
2c4488fce3
commit
24c9187962
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue