summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2000-11-22 11:29:18 +0000
committerBrian Havard <bjh@apache.org>2000-11-22 11:29:18 +0000
commit8876e5f07f4ec10270a64670d402af03df8dace3 (patch)
tree0e8cc3c52cf4aa7e4442b2e09efc42abfbc40046 /dso
parentff7b3b947a3c365ef648429fdcfabe7a54a787bf (diff)
downloadapr-8876e5f07f4ec10270a64670d402af03df8dace3.tar.gz
OS/2: fix return type of apr_dso_error() & squash warnings about string
functions. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r--dso/os2/dso.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dso/os2/dso.c b/dso/os2/dso.c
index d7706f138..9bd9ccc8a 100644
--- a/dso/os2/dso.c
+++ b/dso/os2/dso.c
@@ -53,6 +53,7 @@
*/
#include "dso.h"
+#include "apr_strings.h"
#define INCL_DOS
#include <os2.h>
#include <stdio.h>
@@ -127,7 +128,7 @@ apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym,
-char *apr_dso_error(apr_dso_handle_t *dso, char *buffer, apr_size_t buflen)
+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));