From: Jim Meyering Date: Mon, 22 May 1995 04:43:36 +0000 (+0000) Subject: (__strtol): Remove prototype altogether. X-Git-Tag: cvs-readonly~8724 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e5bf58c36204ba15d1b2875724cf6a8153e9b3f1;p=gnulib.git (__strtol): Remove prototype altogether. Move inclusion of xstrtol.h back so that it follows system headers. --- diff --git a/lib/xstrtol.c b/lib/xstrtol.c index 591493e50..42d3758a6 100644 --- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -2,12 +2,8 @@ #include #endif -#include "xstrtol.h" /* Get definition for __P before use. */ - #ifdef STDC_HEADERS #include -#else -__unsigned long int __strtol __P ((const char *, char **, int base)); #endif #ifdef HAVE_STRING_H @@ -39,6 +35,8 @@ extern int errno; #define LONG_MAX ((long int) (ULONG_MAX >> 1)) #endif +#include "xstrtol.h" + #define BKM_SCALE(x, scale_factor, error_return) \ do \ { \