summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-10-16 06:04:50 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-10-16 06:04:50 +0000
commited62b49141bea6697fbaa7f085af604dbe7b9564 (patch)
tree24b8fe20a3b2235b303d428731c5d38a5b266ea7 /misc
parentf97d8155700af0ef88f7bca5ad088e1a399a75d3 (diff)
downloadlibapr-ed62b49141bea6697fbaa7f085af604dbe7b9564.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: http://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/unix/getopt.c4
-rw-r--r--misc/unix/otherchild.c8
-rw-r--r--misc/win32/names.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/misc/unix/getopt.c b/misc/unix/getopt.c
index 03c64ccd5..f3a561f6c 100644
--- a/misc/unix/getopt.c
+++ b/misc/unix/getopt.c
@@ -35,7 +35,7 @@
#define EMSG ""
-APR_EXPORT(apr_status_t) apr_initopt(apr_getopt_t **os, apr_pool_t *cont,
+APR_DECLARE(apr_status_t) apr_initopt(apr_getopt_t **os, apr_pool_t *cont,
int argc, char *const *argv)
{
*os = apr_palloc(cont, sizeof(apr_getopt_t));
@@ -48,7 +48,7 @@ APR_EXPORT(apr_status_t) apr_initopt(apr_getopt_t **os, apr_pool_t *cont,
return APR_SUCCESS;
}
-APR_EXPORT(apr_status_t) apr_getopt(apr_getopt_t *os, const char *opts,
+APR_DECLARE(apr_status_t) apr_getopt(apr_getopt_t *os, const char *opts,
char *optch, const char **optarg)
{
const char *p;
diff --git a/misc/unix/otherchild.c b/misc/unix/otherchild.c
index 61312da70..fb77b36b1 100644
--- a/misc/unix/otherchild.c
+++ b/misc/unix/otherchild.c
@@ -71,7 +71,7 @@
static apr_other_child_rec_t *other_children = NULL;
-APR_EXPORT(void) apr_register_other_child(apr_proc_t *pid,
+APR_DECLARE(void) apr_register_other_child(apr_proc_t *pid,
void (*maintenance) (int reason, void *, int status),
void *data, apr_file_t *write_fd, apr_pool_t *p)
{
@@ -91,7 +91,7 @@ APR_EXPORT(void) apr_register_other_child(apr_proc_t *pid,
other_children = ocr;
}
-APR_EXPORT(void) apr_unregister_other_child(void *data)
+APR_DECLARE(void) apr_unregister_other_child(void *data)
{
apr_other_child_rec_t **pocr, *nocr;
@@ -156,7 +156,7 @@ void apr_probe_writable_fds(void)
}
}
-APR_EXPORT(apr_status_t) apr_reap_other_child(apr_proc_t *pid, int status)
+APR_DECLARE(apr_status_t) apr_reap_other_child(apr_proc_t *pid, int status)
{
apr_other_child_rec_t *ocr, *nocr;
@@ -172,7 +172,7 @@ APR_EXPORT(apr_status_t) apr_reap_other_child(apr_proc_t *pid, int status)
return APR_CHILD_NOTDONE;
}
-APR_EXPORT(void) apr_check_other_child(void)
+APR_DECLARE(void) apr_check_other_child(void)
{
apr_other_child_rec_t *ocr, *nocr;
pid_t waitret;
diff --git a/misc/win32/names.c b/misc/win32/names.c
index baa20236a..9e3fc7134 100644
--- a/misc/win32/names.c
+++ b/misc/win32/names.c
@@ -82,7 +82,7 @@ static BOOL OnlyDots(char *pString)
* is present on the existing path. This routine also
* converts alias names to long names.
*/
-APR_EXPORT(char *) apr_os_systemcase_filename(apr_pool_t *pCont,
+APR_DECLARE(char *) apr_os_systemcase_filename(apr_pool_t *pCont,
const char *szFile)
{
char buf[HUGE_STRING_LEN];