summaryrefslogtreecommitdiff
path: root/dso/os390
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-01-12 04:50:31 +0000
committerRyan Bloom <rbb@apache.org>2001-01-12 04:50:31 +0000
commitb74c4e5eefe4caacfdb1b75730c3d90a320944cd (patch)
tree9443fdabc7fee95cc6937dfffb48552aef963bf1 /dso/os390
parent4cdb3af343f75bfeb54c309b247d5cff06679947 (diff)
downloadapr-b74c4e5eefe4caacfdb1b75730c3d90a320944cd.tar.gz
Add linkage declarations to the DSO functions.
Submitted by: Gregory Nicholls <gnicholls@level8.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/os390')
-rw-r--r--dso/os390/dso.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/dso/os390/dso.c b/dso/os390/dso.c
index 2adff3e8d..1f4fda65a 100644
--- a/dso/os390/dso.c
+++ b/dso/os390/dso.c
@@ -65,8 +65,8 @@ static apr_status_t dso_cleanup(void *thedso)
return apr_dso_unload(dso);
}
-apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path,
- apr_pool_t *ctx)
+APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle,
+ const char *path, apr_pool_t *ctx)
{
dllhandle *handle;
int rc;
@@ -83,7 +83,7 @@ apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path,
return errno;
}
-apr_status_t apr_dso_unload(apr_dso_handle_t *handle)
+APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle)
{
int rc;
@@ -100,9 +100,9 @@ apr_status_t apr_dso_unload(apr_dso_handle_t *handle)
return errno;
}
-apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym,
- apr_dso_handle_t *handle,
- const char *symname)
+APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym,
+ apr_dso_handle_t *handle,
+ const char *symname)
{
void *func_ptr;
void *var_ptr;
@@ -119,7 +119,7 @@ apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym,
return errno;
}
-const char *apr_dso_error(apr_dso_handle_t *handle, char *buffer,
+APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *handle, char *buffer,
apr_size_t buflen)
{
apr_cpystrn(buffer, strerror(handle->failing_errno), buflen);