summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_dl.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2000-04-06 14:54:54 +0000
committerGeoff Thorpe <geoff@openssl.org>2000-04-06 14:54:54 +0000
commit51175595b32cf1c32b1c09e644f279a05fbcb2ba (patch)
treef89de1e569ec96033887d689891ab543029d23fe /crypto/dso/dso_dl.c
parenteca57e925a5a318d0880f6edb03532cb1b415ae9 (diff)
Constification, and a silly mistake in the comments.
Diffstat (limited to 'crypto/dso/dso_dl.c')
-rw-r--r--crypto/dso/dso_dl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/dso/dso_dl.c b/crypto/dso/dso_dl.c
index 4792edf557..e6e508d434 100644
--- a/crypto/dso/dso_dl.c
+++ b/crypto/dso/dso_dl.c
@@ -69,9 +69,9 @@ DSO_METHOD *DSO_METHOD_dl(void)
#include <dl.h>
-static int dl_load(DSO *dso, char *filename);
+static int dl_load(DSO *dso, const char *filename);
static int dl_unload(DSO *dso);
-static int dl_bind(DSO *dso, char *symname, void **symptr);
+static int dl_bind(DSO *dso, const char *symname, void **symptr);
#if 0
static int dl_unbind(DSO *dso, char *symname, void *symptr);
static int dl_init(DSO *dso);
@@ -102,7 +102,7 @@ DSO_METHOD *DSO_METHOD_dl(void)
* type so the cast is safe.
*/
-static int dl_load(DSO *dso, char *filename)
+static int dl_load(DSO *dso, const char *filename)
{
shl_t ptr;
@@ -148,7 +148,7 @@ static int dl_unload(DSO *dso)
return(1);
}
-static int dl_bind(DSO *dso, char *symname, void **symptr)
+static int dl_bind(DSO *dso, const char *symname, void **symptr)
{
shl_t ptr;
void *sym;