diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2000-10-16 06:04:50 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2000-10-16 06:04:50 +0000 |
commit | 81912b37409be0387e10346b84749ffdabcd4046 (patch) | |
tree | 24b8fe20a3b2235b303d428731c5d38a5b266ea7 /strings/apr_cpystrn.c | |
parent | a92d4bd076b126c4d64ebeee40692b4b2d56a128 (diff) | |
download | apr-81912b37409be0387e10346b84749ffdabcd4046.tar.gz |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings/apr_cpystrn.c')
-rw-r--r-- | strings/apr_cpystrn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/apr_cpystrn.c b/strings/apr_cpystrn.c index 53433c656..5f01ea2e9 100644 --- a/strings/apr_cpystrn.c +++ b/strings/apr_cpystrn.c @@ -80,7 +80,7 @@ * apr_cpystrn() follows the same call structure as strncpy(). */ -APR_EXPORT(char *) apr_cpystrn(char *dst, const char *src, size_t dst_size) +APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src, size_t dst_size) { char *d, *end; @@ -120,7 +120,7 @@ APR_EXPORT(char *) apr_cpystrn(char *dst, const char *src, size_t dst_size) * pool and filled in with copies of the tokens * found during parsing of the arg_str. */ -APR_EXPORT(apr_status_t) apr_tokenize_to_argv(const char *arg_str, +APR_DECLARE(apr_status_t) apr_tokenize_to_argv(const char *arg_str, char ***argv_out, apr_pool_t *token_context) { @@ -212,7 +212,7 @@ APR_EXPORT(apr_status_t) apr_tokenize_to_argv(const char *arg_str, * Corrected Win32 to accept "a/b\\stuff", "a:stuff" */ -APR_EXPORT(const char *) apr_filename_of_pathname(const char *pathname) +APR_DECLARE(const char *) apr_filename_of_pathname(const char *pathname) { const char path_separator = '/'; const char *s = strrchr(pathname, path_separator); @@ -234,7 +234,7 @@ APR_EXPORT(const char *) apr_filename_of_pathname(const char *pathname) * collapse in place (src == dest) is legal. * returns terminating null ptr to dest string. */ -APR_EXPORT(char *) apr_collapse_spaces(char *dest, const char *src) +APR_DECLARE(char *) apr_collapse_spaces(char *dest, const char *src) { while (*src) { if (!apr_isspace(*src)) |