diff options
author | Jeff Trawick <trawick@apache.org> | 2002-07-24 21:23:50 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-07-24 21:23:50 +0000 |
commit | 7a42b9ec3aaad4b60f694de64f4dd56df3b0c439 (patch) | |
tree | 72a5cf5b5961f92942396cbaca0c8d8cb01c589b /include/apr_strings.h | |
parent | d9194d84ff43222e69f2d3047390cee860a5f49f (diff) | |
download | apr-7a42b9ec3aaad4b60f694de64f4dd56df3b0c439.tar.gz |
add some needed const to apr_strtoll and apr_atoll
fix the parms to strtol[l] in apr_strtoll
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63731 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_strings.h')
-rw-r--r-- | include/apr_strings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/apr_strings.h b/include/apr_strings.h index 0f9075e84..ad09495e9 100644 --- a/include/apr_strings.h +++ b/include/apr_strings.h @@ -340,7 +340,7 @@ APR_DECLARE(char *) apr_off_t_toa(apr_pool_t *p, apr_off_t n); * base 16. * @return The long long value of the string. */ -APR_DECLARE(long long) apr_strtoll(char *buf, char **end, int base); +APR_DECLARE(long long) apr_strtoll(const char *buf, char **end, int base); /** * parse a base-10 numeric string into a long long value. @@ -348,7 +348,7 @@ APR_DECLARE(long long) apr_strtoll(char *buf, char **end, int base); * @param buf The string to parse * @return The long long value of the string */ -APR_DECLARE(long long) apr_atoll(char *buf); +APR_DECLARE(long long) apr_atoll(const char *buf); /** * Format a binary size (magnitiudes are 2^10 rather than 10^3) from an apr_off_t, |