From: Paul Eggert Date: Fri, 30 Jul 2004 21:09:04 +0000 (+0000) Subject: sort, system.h, tr int cleanup X-Git-Tag: v5.3.0~991 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55710cf6e198f14539f140310b6b232f14d88180;p=thirdparty%2Fcoreutils.git sort, system.h, tr int cleanup --- diff --git a/ChangeLog b/ChangeLog index 927d28aa29..0599fa3c2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2004-07-30 Paul Eggert + * src/sort.c (UCHAR): Remove; all uses changed to to_uchar. + (IS_THOUSANDS_SEP): Use bool when appropriate. + (numcompare, main): Use char, not int, when the value is always a char. + (numcompare): Remove "register"; compilers are smart enough these days. + * src/system.h (errno, CHAR_BIT): Remove decls; + no longer needed now we assume C89 or better. + Include before , as it's the Autoconf-recommended pattern. + (to_uchar): New inline function, moved here from tr.c. + Use full names for int types, e.g. "long int" rather than "long". + * src/tr.c (to_uchar): Remove; now in system.h. + (is_char_class_member): Use bool when appropriate. + * src/mkdir.c (create_parents, main): Use bool when appropriate. (main): Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.