mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 11:23:47 +08:00
(__strtol): Remove prototype altogether.
Move inclusion of xstrtol.h back so that it follows system headers.
This commit is contained in:
parent
0895e4a7c4
commit
ec651d2263
@ -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 \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user