summaryrefslogtreecommitdiff
path: root/dso/os390/dso.c
diff options
context:
space:
mode:
Diffstat (limited to 'dso/os390/dso.c')
-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);