diff options
author | ache <ache@FreeBSD.org> | 1995-10-23 02:25:53 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-10-23 02:25:53 +0000 |
commit | 973d5505acab048324c8105c54250efef556969f (patch) | |
tree | 0516c8f84b486eac16bb39bf23a2ac5b3b352768 /lib/libc/locale | |
parent | b1a28fda3c0a3f2943f4dd0f1ce4889dc4548dc5 (diff) | |
download | FreeBSD-src-973d5505acab048324c8105c54250efef556969f.zip FreeBSD-src-973d5505acab048324c8105c54250efef556969f.tar.gz |
Use fake (empty) startup_setlocale for XPG4
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/setlocale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c index cb5da65..11f2139 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() |