.
[gnulib.git] / lib / xstrtol.c
index 3832252..0b4a714 100644 (file)
@@ -4,8 +4,6 @@
 
 #ifdef STDC_HEADERS
 #include <stdlib.h>
-#else
-long int __strtol (const char *, char **, int base);
 #endif
 
 #ifdef HAVE_STRING_H
@@ -17,8 +15,8 @@ long int __strtol (const char *, char **, int base);
 # endif
 #endif
 
+#define NDEBUG
 #include <assert.h>
-/* FIXME: define NDEBUG before release.  */
 
 #include <errno.h>
 #ifndef errno
@@ -26,15 +24,15 @@ extern int errno;
 #endif
 
 #if HAVE_LIMITS_H
-#include <limits.h>
+# include <limits.h>
 #endif
 
 #ifndef ULONG_MAX
-#define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
+# define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
 #endif
 
 #ifndef LONG_MAX
-#define LONG_MAX ((long int) (ULONG_MAX >> 1))
+# define LONG_MAX ((long int) (ULONG_MAX >> 1))
 #endif
 
 #include "xstrtol.h"