summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-05-29 02:18:44 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-05-29 02:18:44 +0000
commit43e782f12bfca274304763066aca53211805cd94 (patch)
tree40382e157d1fca8550dcc657ee9e4309a1fbe543 /dso
parentc944350fa1bd80a680e27e5df78bf3f935585282 (diff)
downloadlibapr-43e782f12bfca274304763066aca53211805cd94.tar.gz
Update the ap_dso_error API to work with other platforms.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60116 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r--dso/os2/dso.c2
-rw-r--r--dso/unix/dso.c2
-rw-r--r--dso/win32/dso.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/dso/os2/dso.c b/dso/os2/dso.c
index 90f4069ce..e9129fe13 100644
--- a/dso/os2/dso.c
+++ b/dso/os2/dso.c
@@ -130,7 +130,7 @@ ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym,
/* Just a stub, it will never be called because we never return APR_EDSOOPEN */
-char *ap_dso_error()
+char *ap_dso_error(char *buf, int bufsize, ap_status_t errcode)
{
return NULL;
}
diff --git a/dso/unix/dso.c b/dso/unix/dso.c
index 390566b0e..4357edb37 100644
--- a/dso/unix/dso.c
+++ b/dso/unix/dso.c
@@ -134,7 +134,7 @@ ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym,
return APR_SUCCESS;
}
-char *ap_dso_error(void)
+char *ap_dso_error(char *buf, int bufsize, ap_status_t errcode)
{
#if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
return strerror(errno);
diff --git a/dso/win32/dso.c b/dso/win32/dso.c
index a741276b3..8e64a56d7 100644
--- a/dso/win32/dso.c
+++ b/dso/win32/dso.c
@@ -94,7 +94,7 @@ ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym,
return APR_SUCCESS;
}
-char *ap_dso_error(void)
+char *ap_dso_error(char *buf, int bufsize, ap_status_t errcode)
{
return "An error occured loading a DLL.";
}