diff options
author | ache <ache@FreeBSD.org> | 1997-02-06 09:11:06 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-02-06 09:11:06 +0000 |
commit | 1fbffa765c7c52ab4eb89108096c207c562589d6 (patch) | |
tree | 884ff88fa55071e0b114b7047342a5e92e455a11 /lib/libc/locale/collate.c | |
parent | b7c9a718d55bb2dfd777c2f469f9a99c4cceae19 (diff) | |
download | FreeBSD-src-1fbffa765c7c52ab4eb89108096c207c562589d6.zip FreeBSD-src-1fbffa765c7c52ab4eb89108096c207c562589d6.tar.gz |
Use symbolic constants instead of hardcoded digits
Add range check for setrunelocale since it can be called
directly.
Remove _startup_setlocale compatibility function
Should go into 2.2
Diffstat (limited to 'lib/libc/locale/collate.c')
-rw-r--r-- | lib/libc/locale/collate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/collate.c b/lib/libc/locale/collate.c index b875acb..0d479a1 100644 --- a/lib/libc/locale/collate.c +++ b/lib/libc/locale/collate.c @@ -35,8 +35,8 @@ #include <unistd.h> #include <sysexits.h> #include "collate.h" +#include "setlocale.h" -char *_PathLocale; int __collate_load_error = 1; char __collate_version[STR_LEN]; u_char __collate_substitute_table[UCHAR_MAX + 1][STR_LEN]; |