diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-10 22:12:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-10 22:12:03 +0000 |
commit | dba300a0d019933bd2b25006006db95688fb9ea3 (patch) | |
tree | 7a658cab1b601be0ca8a8bacea1d23f1446bd7f5 /src/od.c | |
parent | b9ed71e46e4b3b2f3f366d6eeaa9b54d32d00317 (diff) | |
download | coreutils-dba300a0d019933bd2b25006006db95688fb9ea3.tar.xz |
CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX
Remove definitions of those symbols.
* src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h
since it now includes limit.h which defines RE_DUP_MAX.
* src/nl.c: Likewise.
* src/tac.c: Likewise.
Diffstat (limited to 'src/od.c')
-rw-r--r-- | src/od.c | 27 |
1 files changed, 1 insertions, 26 deletions
@@ -1,5 +1,5 @@ /* od -- dump files in octal and other formats - Copyright (C) 92, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 92, 95, 96, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,36 +37,11 @@ typedef long double LONG_DOUBLE; typedef double LONG_DOUBLE; #endif -#if HAVE_LIMITS_H -# include <limits.h> -#endif -#ifndef SCHAR_MAX -# define SCHAR_MAX 127 -#endif -#ifndef SCHAR_MIN -# define SCHAR_MIN (-128) -#endif -#ifndef SHRT_MAX -# define SHRT_MAX 32767 -#endif -#ifndef SHRT_MIN -# define SHRT_MIN (-32768) -#endif -#ifndef ULONG_MAX -# define ULONG_MAX ((unsigned long) ~(unsigned long) 0) -#endif -#ifndef LONG_MAX -# define LONG_MAX ((long int) (ULONG_MAX >> 1)) -#endif #if HAVE_VALUES_H # include <values.h> #endif -#ifndef BITSPERBYTE -# define BITSPERBYTE 8 -#endif - #ifndef MAX # define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif |