diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-23 02:25:53 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-23 02:25:53 +0000 |
commit | 24c9187962b92fa6d49a92db7af005e783c9f3f2 (patch) | |
tree | 0516c8f84b486eac16bb39bf23a2ac5b3b352768 /lib/libc | |
parent | 2c4488fce37090fbfb35b31f1a0390f4fa6da3fb (diff) | |
download | src-24c9187962b92fa6d49a92db7af005e783c9f3f2.tar.gz src-24c9187962b92fa6d49a92db7af005e783c9f3f2.zip |
Use fake (empty) startup_setlocale for XPG4
Notes
Notes:
svn path=/head/; revision=11702
Diffstat (limited to 'lib/libc')
-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 cb5da653e4e5..11f21398e76f 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() |