summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-24 05:15:28 +0000
committerJim Meyering <jim@meyering.net>1995-05-24 05:15:28 +0000
commita15dfb24f9ea088163da5548a23f081559741f5a (patch)
tree693e2020d370aa2f5aed43b8b94a68d743b44e94
parent4e8d91565aac56b9a096a860294df9914273112a (diff)
downloadgnulib-a15dfb24f9ea088163da5548a23f081559741f5a.tar.gz
GNU text utilitiesTEXTUTILS-1_11_4
-rw-r--r--lib/xstrtol.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c
index 591493e50c..42d3758a69 100644
--- a/lib/xstrtol.c
+++ b/lib/xstrtol.c
@@ -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 \
{ \