summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-21 22:20:01 +0000
committerJim Meyering <jim@meyering.net>1997-12-21 22:20:01 +0000
commit6123a888527ef69fc2ff91fe41e23558eac81a7e (patch)
tree98cce6a45b0f76bcf8983da14726fe742d6bae4b
parent3d0e13a00de14fe6618637093befe800a19c7483 (diff)
downloadcoreutils-6123a888527ef69fc2ff91fe41e23558eac81a7e.tar.xz
Don't include limits.h.
(UINT_MAX): Don't define. (INT_MAX): Don't define. These are all done in system.h now.
-rw-r--r--src/factor.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/factor.c b/src/factor.c
index 38ae81184..843c58896 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -25,18 +25,6 @@
#include <assert.h>
#define NDEBUG 1
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif /* HAVE_LIMITS_H */
-
-#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 "long-options.h"
#include "error.h"