summaryrefslogtreecommitdiff
path: root/lib/sh/strtoumax.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-03 13:51:07 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-03 13:51:07 -0500
commit66e6d7cffd3054b3e2eaf77d39bdbf19ed4de4a0 (patch)
treedd9ad176f287216c26d8b2dd2aba232c9b3d826e /lib/sh/strtoumax.c
parenta2e7f3586440b48e9a5bd9551181850a7b198bab (diff)
downloadbash-66e6d7cffd3054b3e2eaf77d39bdbf19ed4de4a0.tar.gz
commit bash-20050915 snapshot
Diffstat (limited to 'lib/sh/strtoumax.c')
-rw-r--r--lib/sh/strtoumax.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sh/strtoumax.c b/lib/sh/strtoumax.c
index c35461a2..e723d491 100644
--- a/lib/sh/strtoumax.c
+++ b/lib/sh/strtoumax.c
@@ -1,5 +1,5 @@
/* Convert string representation of a number into an uintmax_t value.
- Copyright 1999, 2001 Free Software Foundation, Inc.
+ Copyright 1999-2005 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
@@ -48,6 +48,10 @@ extern unsigned long strtoul __P((const char *, char **, int));
extern unsigned long long strtoull __P((const char *, char **, int));
#endif
+#ifdef strtoumax
+#undef strtoumax
+#endif
+
uintmax_t
strtoumax (ptr, endptr, base)
const char *ptr;