summaryrefslogtreecommitdiff
path: root/src/split.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/split.c
parentb9ed71e46e4b3b2f3f366d6eeaa9b54d32d00317 (diff)
downloadcoreutils-dba300a0d019933bd2b25006006db95688fb9ea3.tar.gz
coreutils-dba300a0d019933bd2b25006006db95688fb9ea3.tar.bz2
coreutils-dba300a0d019933bd2b25006006db95688fb9ea3.zip
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/split.c')
-rw-r--r--src/split.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/split.c b/src/split.c
index 1917735b6..c82192138 100644
--- a/src/split.c
+++ b/src/split.c
@@ -1,5 +1,5 @@
/* split.c -- split a file into pieces.
- Copyright (C) 88, 91, 95, 96, 1997 Free Software Foundation, Inc.
+ Copyright (C) 88, 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
@@ -27,18 +27,6 @@
#include <getopt.h>
#include <sys/types.h>
-#if 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 "system.h"
#include "error.h"
#include "xstrtol.h"