mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-10 18:13:25 +08:00
(__strtol): Remove decl; it doesn't work if __strtol
expands to a macro, which occurs in HP-UX 10.20 with strtoumax. (strtol, strtoul): New decls (for pre-ANSI hosts), to replace the above decl.
This commit is contained in:
parent
0430c3c938
commit
589cf443b9
@ -78,7 +78,13 @@ extern int errno;
|
||||
|
||||
#include "xstrtol.h"
|
||||
|
||||
__strtol_t __strtol ();
|
||||
#ifndef strtol
|
||||
long int strtol ();
|
||||
#endif
|
||||
|
||||
#ifndef strtoul
|
||||
unsigned long int strtoul ();
|
||||
#endif
|
||||
|
||||
static int
|
||||
bkm_scale (__strtol_t *x, int scale_factor)
|
||||
|
Loading…
Reference in New Issue
Block a user