summaryrefslogtreecommitdiff
path: root/dso/beos/dso.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-01-12 04:50:31 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-01-12 04:50:31 +0000
commit98a31028f1bc06c95d9dc780d5a6103fe1c69026 (patch)
tree9443fdabc7fee95cc6937dfffb48552aef963bf1 /dso/beos/dso.c
parent0c75ae7bb5f7329c3aaea91c25aa2aff5403965f (diff)
downloadlibapr-98a31028f1bc06c95d9dc780d5a6103fe1c69026.tar.gz
Add linkage declarations to the DSO functions.
Submitted by: Gregory Nicholls <gnicholls@level8.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/beos/dso.c')
-rw-r--r--dso/beos/dso.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dso/beos/dso.c b/dso/beos/dso.c
index f049c28a4..bb01d858c 100644
--- a/dso/beos/dso.c
+++ b/dso/beos/dso.c
@@ -56,7 +56,7 @@
#if APR_HAS_DSO
-apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path,
+APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, const char *path,
apr_pool_t *ctx)
{
image_id newid;
@@ -70,7 +70,7 @@ apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path,
return APR_SUCCESS;
}
-apr_status_t apr_dso_unload(apr_dso_handle_t *handle)
+APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle)
{
if(unload_add_on(handle->handle) < B_NO_ERROR)
return APR_EINIT;
@@ -78,7 +78,7 @@ apr_status_t apr_dso_unload(apr_dso_handle_t *handle)
return APR_SUCCESS;
}
-apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym, apr_dso_handle_t *handle,
+APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym, apr_dso_handle_t *handle,
const char *symname)
{
int err;
@@ -95,7 +95,7 @@ apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym, apr_dso_handle_t *handle,
return APR_SUCCESS;
}
-const char *apr_dso_error(apr_dso_handle_t *dso, char *buffer, apr_size_t buflen)
+APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *dso, char *buffer, apr_size_t buflen)
{
strncpy(strerror(errno), buffer, buflen);
return buffer;