From edcfa07284471aa6ada2856c80c06a692ead0fba Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 31 Oct 1996 04:32:27 +0000 Subject: collate_range_cmp -> __collate_range_cmp --- sys/libkern/fnmatch.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/libkern') diff --git a/sys/libkern/fnmatch.c b/sys/libkern/fnmatch.c index 3bf9e1797ae7..f53963adf899 100644 --- a/sys/libkern/fnmatch.c +++ b/sys/libkern/fnmatch.c @@ -45,10 +45,11 @@ static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94"; #include #include -#include #include #include +#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) -- cgit v1.3