summaryrefslogtreecommitdiff
path: root/src/unexpand.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-10 22:12:03 +0000
committerJim Meyering <jim@meyering.net>1998-01-10 22:12:03 +0000
commitdba300a0d019933bd2b25006006db95688fb9ea3 (patch)
tree7a658cab1b601be0ca8a8bacea1d23f1446bd7f5 /src/unexpand.c
parentb9ed71e46e4b3b2f3f366d6eeaa9b54d32d00317 (diff)
downloadcoreutils-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/unexpand.c')
-rw-r--r--src/unexpand.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/unexpand.c b/src/unexpand.c
index e86702c53..22acbe6b8 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -1,5 +1,5 @@
/* unexpand - convert spaces to tabs
- Copyright (C) 89, 91, 95, 96, 1997 Free Software Foundation, Inc.
+ Copyright (C) 89, 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
@@ -45,18 +45,6 @@
#include <sys/types.h>
#include "system.h"
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#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 "error.h"
/* The number of bytes added at a time to the amount of memory