summaryrefslogtreecommitdiff
path: root/lib/strtoimax.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-09-12 18:24:51 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-09-12 18:24:51 +0000
commitfa9635f22ac175bace582885ca780d3eb511b578 (patch)
tree21fd7c8fa3aa44721a172d994602d2fb1304255f /lib/strtoimax.c
parentad1676ccbe111c941bae095d7426e34a83c975f0 (diff)
downloadgnulib-fa9635f22ac175bace582885ca780d3eb511b578.tar.gz
Remove K&R cruft.
Diffstat (limited to 'lib/strtoimax.c')
-rw-r--r--lib/strtoimax.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/strtoimax.c b/lib/strtoimax.c
index 555f2d5b5c..4ce741cfdd 100644
--- a/lib/strtoimax.c
+++ b/lib/strtoimax.c
@@ -27,20 +27,12 @@
# include <stdint.h>
#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
/* Verify a requirement at compile-time (unlike assert, which is runtime). */
#define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
#ifdef UNSIGNED
-# ifndef HAVE_DECL_STRTOUL
-"this configure-time declaration test was not run"
-# endif
-# if !HAVE_DECL_STRTOUL
-unsigned long strtoul (char const *, char **, int);
-# endif
# ifndef HAVE_DECL_STRTOULL
"this configure-time declaration test was not run"
# endif
@@ -50,12 +42,6 @@ unsigned long long strtoull (char const *, char **, int);
#else
-# ifndef HAVE_DECL_STRTOL
-"this configure-time declaration test was not run"
-# endif
-# if !HAVE_DECL_STRTOL
-long strtol (char const *, char **, int);
-# endif
# ifndef HAVE_DECL_STRTOLL
"this configure-time declaration test was not run"
# endif