projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb5808
)
(__strtol): Remove decl; it doesn't work if __strtol
author
Jim Meyering
<jim@meyering.net>
Sun, 4 Jul 1999 08:34:31 +0000
(08:34 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 4 Jul 1999 08:34:31 +0000
(08:34 +0000)
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.
lib/xstrtol.c
patch
|
blob
|
history
diff --git
a/lib/xstrtol.c
b/lib/xstrtol.c
index
0b91ed7
..
760b2a5
100644
(file)
--- a/
lib/xstrtol.c
+++ b/
lib/xstrtol.c
@@
-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)