diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-10-31 04:25:14 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-10-31 04:25:14 +0000 |
| commit | 38aa46cdf0b12752157a56700dbb129bed7aa171 (patch) | |
| tree | ab6df848a9557df580f610edb7ca06470537ddde /lib/libc/locale/collcmp.c | |
| parent | d13d3630fd5734d5e10aa2d9c03366ab2a6d6f18 (diff) | |
Notes
Diffstat (limited to 'lib/libc/locale/collcmp.c')
| -rw-r--r-- | lib/libc/locale/collcmp.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/locale/collcmp.c b/lib/libc/locale/collcmp.c index 177603392fbf..3a0b6e679652 100644 --- a/lib/libc/locale/collcmp.c +++ b/lib/libc/locale/collcmp.c @@ -23,25 +23,33 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: collcmp.c,v 1.6 1996/09/17 19:27:06 ache Exp $ + * $Id: collcmp.c,v 1.7 1996/10/23 15:35:46 ache Exp $ */ #define ASCII_COMPATIBLE_COLLATE /* see usr.bin/colldef/data */ #include <string.h> -#include <limits.h> -#include <locale.h> +#include "collate.h" #ifndef ASCII_COMPATIBLE_COLLATE #include <ctype.h> #endif +/* Temporary backward compatibility */ + +int collate_range_cmp (c1, c2) + int c1, c2; +{ + return __collate_range_cmp(c1, c2); +} + + /* * Compare two characters converting collate information * into ASCII-compatible range, it allows to handle * "[a-z]"-type ranges with national characters. */ -int collate_range_cmp (c1, c2) +int __collate_range_cmp (c1, c2) int c1, c2; { static char s1[2], s2[2]; |
