diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2000-11-22 11:29:18 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2000-11-22 11:29:18 +0000 |
commit | a7e1433598a79d4bcec49e26ca9ebeae2e259e67 (patch) | |
tree | 0e8cc3c52cf4aa7e4442b2e09efc42abfbc40046 /dso | |
parent | d375344a2587fc339c1cab9b5454fa020a678b95 (diff) | |
download | libapr-a7e1433598a79d4bcec49e26ca9ebeae2e259e67.tar.gz |
OS/2: fix return type of apr_dso_error() & squash warnings about string
functions.
git-svn-id: http://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)); |