diff options
author | Brian Havard <bjh@apache.org> | 2000-11-22 11:29:18 +0000 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2000-11-22 11:29:18 +0000 |
commit | 8876e5f07f4ec10270a64670d402af03df8dace3 (patch) | |
tree | 0e8cc3c52cf4aa7e4442b2e09efc42abfbc40046 /dso | |
parent | ff7b3b947a3c365ef648429fdcfabe7a54a787bf (diff) | |
download | apr-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.c | 3 |
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)); |