diff options
author | ache <ache@FreeBSD.org> | 1996-10-31 04:32:27 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-10-31 04:32:27 +0000 |
commit | a96f64f92c7cab37e9d767c907b3f3a80a50b686 (patch) | |
tree | 493c4284243fe4e0f57d2c4bdafb847d241a2b8d /lib/libc/gen/fnmatch.c | |
parent | 411def8ac09fc48107b53ce379d05fb942f05e94 (diff) | |
download | FreeBSD-src-a96f64f92c7cab37e9d767c907b3f3a80a50b686.zip FreeBSD-src-a96f64f92c7cab37e9d767c907b3f3a80a50b686.tar.gz |
collate_range_cmp -> __collate_range_cmp
Diffstat (limited to 'lib/libc/gen/fnmatch.c')
-rw-r--r-- | lib/libc/gen/fnmatch.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/gen/fnmatch.c b/lib/libc/gen/fnmatch.c index 3bf9e17..f53963a 100644 --- a/lib/libc/gen/fnmatch.c +++ b/lib/libc/gen/fnmatch.c @@ -45,10 +45,11 @@ static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94"; #include <ctype.h> #include <fnmatch.h> -#include <locale.h> #include <string.h> #include <stdio.h> +#include "collate.h" + #define EOS '\0' static const char *rangematch __P((const char *, char, int)); @@ -186,8 +187,8 @@ rangematch(pattern, test, flags) if (flags & FNM_CASEFOLD) c2 = tolower((unsigned char)c2); - if ( collate_range_cmp(c, test) <= 0 - && collate_range_cmp(test, c2) <= 0 + if ( __collate_range_cmp(c, test) <= 0 + && __collate_range_cmp(test, c2) <= 0 ) ok = 1; } else if (c == test) |