summaryrefslogtreecommitdiff
path: root/lib/xstrtol.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-29 04:00:36 +0000
committerJim Meyering <jim@meyering.net>1998-07-29 04:00:36 +0000
commit3cf7eece6f12bafa718c5856eac8304156609ced (patch)
tree773c65edbc5f6f2ec53e876c80226eb00354de43 /lib/xstrtol.c
parent7dfff499c34524e3dda7893744072eb057f572bc (diff)
downloadcoreutils-3cf7eece6f12bafa718c5856eac8304156609ced.tar.xz
Remove duplicate include of <stdio.h>.
Diffstat (limited to 'lib/xstrtol.c')
-rw-r--r--lib/xstrtol.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c
index cd85a3f93..00d4b117b 100644
--- a/lib/xstrtol.c
+++ b/lib/xstrtol.c
@@ -21,6 +21,8 @@
# include <config.h>
#endif
+/* Some pre-ANSI implementations (e.g. SunOS 4)
+ need stderr defined if assertion checking is enabled. */
#include <stdio.h>
#if STDC_HEADERS
@@ -36,12 +38,6 @@
# endif
#endif
-/* Some pre-ANSI implementations (e.g. SunOS 4)
- need stderr defined if assertion checking is enabled. */
-#ifndef NDEBUG
-# include <stdio.h>
-#endif
-
#include <assert.h>
#include <errno.h>