X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrtoimax.c;h=4ce741cfdd3b948820f044d6817ef85c3e1e9982;hb=c5467a5a59852da74dc849497f47b4966fcba269;hp=555f2d5b5c43d35f35bd25f05fad259d02888401;hpb=0e241f3e22d11083c7a37e21c7625762a7280e80;p=gnulib.git diff --git a/lib/strtoimax.c b/lib/strtoimax.c index 555f2d5b5..4ce741cfd 100644 --- a/lib/strtoimax.c +++ b/lib/strtoimax.c @@ -27,20 +27,12 @@ # include #endif -#if HAVE_STDLIB_H -# include -#endif +#include /* 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