Mercurial > hg > octave-lyh > gnulib-hg
changeset 7406:6c74edd6e75a
Remove macros that are no longer needed now that stdint.h is
reliable.
* fsusage.c (UINTMAX_MAX): Remove.
* human.c (SIZE_MAX, UINTMAX_MAX): Remove.
* utimecmp.c (SIZE_MAX): Remove.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 05 Oct 2006 21:23:20 +0000 |
parents | 0de49c40e105 |
children | cb56735ed8f5 |
files | lib/ChangeLog lib/fsusage.c lib/human.c lib/utimecmp.c |
diffstat | 4 files changed, 8 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,11 @@ +2006-10-05 Paul Eggert <eggert@cs.ucla.edu> + + Remove macros that are no longer needed now that stdint.h is + reliable. + * fsusage.c (UINTMAX_MAX): Remove. + * human.c (SIZE_MAX, UINTMAX_MAX): Remove. + * utimecmp.c (SIZE_MAX): Remove. + 2006-10-03 Bruno Haible <bruno@clisp.org> * gl_list.h (gl_list_search_from, gl_list_search_from_to,
--- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -56,10 +56,6 @@ # include "full-read.h" #endif -#ifndef UINTMAX_MAX -# define UINTMAX_MAX ((uintmax_t) -1) -#endif - /* Many space usage primitives use all 1 bits to denote a value that is not applicable or unknown. Propagate this information by returning a uintmax_t value that is all 1 bits if X is all 1 bits, even if X
--- a/lib/human.c +++ b/lib/human.c @@ -36,13 +36,6 @@ #include <intprops.h> #include <xstrtol.h> -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif -#ifndef UINTMAX_MAX -# define UINTMAX_MAX ((uintmax_t) -1) -#endif - /* The maximum length of a suffix like "KiB". */ #define HUMAN_READABLE_SUFFIX_LENGTH_MAX 3