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/uniq.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/uniq.c') diff --git a/src/uniq.c b/src/uniq.c index b8a6420e6..176c86571 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -1,5 +1,5 @@ /* uniq -- remove duplicate lines from a sorted file - Copyright (C) 86, 91, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 86, 91, 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 @@ -26,18 +26,6 @@ #include #include -#if HAVE_LIMITS_H -# include -#endif - -#ifndef UINT_MAX -# define UINT_MAX ((unsigned int) ~(unsigned int) 0) -#endif - -#ifndef INT_MAX -# define INT_MAX ((int) (UINT_MAX >> 1)) -#endif - #include "system.h" #include "linebuffer.h" #include "error.h" -- cgit v1.2.3-54-g00ecf