(__strtol): Remove prototype altogether.
[pspp] / lib / xstrtol.c
index 591493e50c78cc4b6bd07b48754df86f88e5012f..42d3758a69159a7fe91e056fe3932cf8dc1492dd 100644 (file)
@@ -2,12 +2,8 @@
 #include <config.h>
 #endif
 
-#include "xstrtol.h" /* Get definition for __P before use. */
-
 #ifdef STDC_HEADERS
 #include <stdlib.h>
-#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                                                               \
        {                                                               \