summaryrefslogtreecommitdiff
path: root/strings/apr_strings.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-08-03 19:31:36 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-08-03 19:31:36 +0000
commit5aa0c1bcc94a3701ac4abf8cd099326db2aa9f7d (patch)
tree7f2152a42873e281428007e36a7494e19045b08c /strings/apr_strings.c
parentffc3e8062aa153fd43f35336c37ec993e932ee4c (diff)
downloadapr-5aa0c1bcc94a3701ac4abf8cd099326db2aa9f7d.tar.gz
Step one, rename from the meaningless 'll' to 'i64'.
I have nothing against spelling out apr_atoint64 but I think that's probably excessive. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63780 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings/apr_strings.c')
-rw-r--r--strings/apr_strings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/apr_strings.c b/strings/apr_strings.c
index dddf694b1..e58c88dc3 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -233,19 +233,19 @@ void *memchr(const void *s, int c, size_t n)
}
#endif
-APR_DECLARE(apr_int64_t) apr_strtoll(const char *buf, char **end, int base)
+APR_DECLARE(apr_int64_t) apr_strtoi64(const char *buf, char **end, int base)
{
#if (APR_HAVE_STRTOLL)
return (apr_int64_t)strtoll(buf, end, base);
#else
- /* best-effort function. If no strtoll, use strtol */
+ /* XXX This Is Absolutely Bogus */
return (apr_int64_t)strtol(buf, end, base);
#endif
}
-APR_DECLARE(apr_int64_t) apr_atoll(const char *buf)
+APR_DECLARE(apr_int64_t) apr_atoi64(const char *buf)
{
- return apr_strtoll(buf, NULL, 0);
+ return apr_strtoi64(buf, NULL, 0);
}
APR_DECLARE(char *) apr_itoa(apr_pool_t *p, int n)