diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-18 11:51:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-18 11:51:08 +0000 |
commit | 35592ba64c423993f716399b57c6ae909b847f86 (patch) | |
tree | 396d5e7e71bf1267fa4dc49674b9caa0c298b746 /old/textutils/NEWS | |
parent | c1618a8c4c633c370142f3570e6e2054d9e4821a (diff) | |
download | coreutils-35592ba64c423993f716399b57c6ae909b847f86.tar.xz |
(strncoll, strncoll_s2_readonly, look_for_fraction, numcompare):
Remove the `unsigned' from some `unsigned char*' parameter types.
Add casts via UCHAR where necessary to avoid problems with unwanted
sign extension. Based on a patch from Kaveh Ghazi to appease Irix4's
cc compiler.
e.g.,
> cc -DLOCALEDIR=\"/caip/u3/ghazi/foobar/share/locale\" -DHAVE_CONFIG_H
> -I.. -I../../src -I../../lib -I../intl -c ../../src/sort.c
> accom: Error: ../../src/sort.c, line 500: prototype parameter 1 type
> must have all of the actual arguments qualifiers (except the
> outermost) and pointed-to types must be compatible (ANSI
> 3.3.2.2,3.3.16.1)
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: Argument 1 Type Doesn't
> Match prototype description; prototype: pointer to const char is
> different from actual: pointer to unsigned char
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: prototype parameter 2 type
> must have all of the actual arguments qualifiers (except the
> outermost) and pointed-to types must be compatible (ANSI
> 3.3.2.2,3.3.16.1)
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: Argument 2 Type Doesn't
> Match prototype description; prototype: pointer to const char is
> different from actual: pointer to unsigned char
> diff = strcoll (s1, s2);
> ----------------------------^
Diffstat (limited to 'old/textutils/NEWS')
0 files changed, 0 insertions, 0 deletions