projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(distclean): Remove .deps.
[gnulib.git]
/
lib
/
xstrtol.c
diff --git
a/lib/xstrtol.c
b/lib/xstrtol.c
index
591493e
..
0b4a714
100644
(file)
--- a/
lib/xstrtol.c
+++ b/
lib/xstrtol.c
@@
-2,12
+2,8
@@
#include <config.h>
#endif
#include <config.h>
#endif
-#include "xstrtol.h" /* Get definition for __P before use. */
-
#ifdef STDC_HEADERS
#include <stdlib.h>
#ifdef STDC_HEADERS
#include <stdlib.h>
-#else
-__unsigned long int __strtol __P ((const char *, char **, int base));
#endif
#ifdef HAVE_STRING_H
#endif
#ifdef HAVE_STRING_H
@@
-28,17
+24,19
@@
extern int errno;
#endif
#if HAVE_LIMITS_H
#endif
#if HAVE_LIMITS_H
-#include <limits.h>
+#
include <limits.h>
#endif
#ifndef ULONG_MAX
#endif
#ifndef ULONG_MAX
-#define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
+#
define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
#endif
#ifndef LONG_MAX
#endif
#ifndef LONG_MAX
-#define LONG_MAX ((long int) (ULONG_MAX >> 1))
+#
define LONG_MAX ((long int) (ULONG_MAX >> 1))
#endif
#endif
+#include "xstrtol.h"
+
#define BKM_SCALE(x, scale_factor, error_return) \
do \
{ \
#define BKM_SCALE(x, scale_factor, error_return) \
do \
{ \