From dba300a0d019933bd2b25006006db95688fb9ea3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Jan 1998 22:12:03 +0000 Subject: 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. --- src/od.c | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/od.c') diff --git a/src/od.c b/src/od.c index 25fc1af9f..5cf92e77f 100644 --- a/src/od.c +++ b/src/od.c @@ -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 -#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 #endif -#ifndef BITSPERBYTE -# define BITSPERBYTE 8 -#endif - #ifndef MAX # define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif -- cgit v1.2.3-54-g00ecf