projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(jm_LIB_CHECK): Use []-quoted list in
[gnulib.git]
/
lib
/
xstrtol.c
diff --git
a/lib/xstrtol.c
b/lib/xstrtol.c
index
0b91ed7
..
07023d9
100644
(file)
--- a/
lib/xstrtol.c
+++ b/
lib/xstrtol.c
@@
-1,5
+1,5
@@
/* A more useful interface to strtol.
/* A more useful interface to strtol.
- Copyright
1995, 1996, 1998, 1999
Free Software Foundation, Inc.
+ Copyright
(C) 1995, 1996, 1998-2000
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-78,7
+78,17
@@
extern int errno;
#include "xstrtol.h"
#include "xstrtol.h"
-__strtol_t __strtol ();
+#ifndef strtol
+long int strtol ();
+#endif
+
+#ifndef strtoul
+unsigned long int strtoul ();
+#endif
+
+#ifndef strtoumax
+uintmax_t strtoumax ();
+#endif
static int
bkm_scale (__strtol_t *x, int scale_factor)
static int
bkm_scale (__strtol_t *x, int scale_factor)