28a29,31
> #include <locale.h>
>
> /* will be removed ***************************/
32c35
< u_char c1, c2;
---
> unsigned char c1, c2;
33a37,43
> return collate_range_cmp (c1, c2);
> }
> /* will be removed ***************************/
>
> int collate_range_cmp (c1, c2)
> int c1, c2;
> {
35a46,47
> c1 &= UCHAR_MAX;
> c2 &= UCHAR_MAX;
41c53
< return (((int)c1) - ((int)c2));
---
> return (c1 - c2);
44c56
< return ('A' - ((int)c2));
---
> return ('A' - c2);
46c58
< return ('a' - ((int)c2));
---
> return ('a' - c2);
49c61
< return (((int)c1) - 'A');
---
> return (c1 - 'A');
51c63
< return (((int)c1) - 'a');
---
> return (c1 - 'a');
57,58c69,70
< s1[0] = (char) c1;
< s2[0] = (char) c2;
---
> s1[0] = c1;
> s2[0] = c2;
61d72
<
> #include <locale.h>
>
> /* will be removed ***************************/
32c35
< u_char c1, c2;
---
> unsigned char c1, c2;
33a37,43
> return collate_range_cmp (c1, c2);
> }
> /* will be removed ***************************/
>
> int collate_range_cmp (c1, c2)
> int c1, c2;
> {
35a46,47
> c1 &= UCHAR_MAX;
> c2 &= UCHAR_MAX;
41c53
< return (((int)c1) - ((int)c2));
---
> return (c1 - c2);
44c56
< return ('A' - ((int)c2));
---
> return ('A' - c2);
46c58
< return ('a' - ((int)c2));
---
> return ('a' - c2);
49c61
< return (((int)c1) - 'A');
---
> return (c1 - 'A');
51c63
< return (((int)c1) - 'a');
---
> return (c1 - 'a');
57,58c69,70
< s1[0] = (char) c1;
< s2[0] = (char) c2;
---
> s1[0] = c1;
> s2[0] = c2;
61d72
<