summaryrefslogtreecommitdiff
path: root/dso/os2
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/os2
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/os2')
-rw-r--r--dso/os2/dso.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/dso/os2/dso.c b/dso/os2/dso.c
index d3eb678bb..03dcecae2 100644
--- a/dso/os2/dso.c
+++ b/dso/os2/dso.c
@@ -68,7 +68,7 @@ static apr_status_t dso_cleanup(void *thedso)
}
-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)
{
char failed_module[200];
HMODULE handle;
@@ -92,7 +92,7 @@ apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, apr_p
-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;
@@ -109,9 +109,9 @@ apr_status_t apr_dso_unload(apr_dso_handle_t *handle)
-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)
{
PFN func;
int rc;
@@ -128,7 +128,7 @@ apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym,
-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)
{
char message[200];
apr_strerror(dso->load_error, message, sizeof(message));