X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fdso%2Fdso_dlfcn.c;h=c5db28f3566c73077eda051d9102126be34a2670;hp=93545ecdafb62548d0508728af939cf421d42b7d;hb=51175595b32cf1c32b1c09e644f279a05fbcb2ba;hpb=eca57e925a5a318d0880f6edb03532cb1b415ae9 diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index 93545ecdaf..c5db28f356 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -71,9 +71,9 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) #include #endif -static int dlfcn_load(DSO *dso, char *filename); +static int dlfcn_load(DSO *dso, const char *filename); static int dlfcn_unload(DSO *dso); -static int dlfcn_bind(DSO *dso, char *symname, void **symptr); +static int dlfcn_bind(DSO *dso, const char *symname, void **symptr); #if 0 static int dlfcn_unbind(DSO *dso, char *symname, void *symptr); static int dlfcn_init(DSO *dso); @@ -102,7 +102,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) * (i) the handle (void*) returned from dlopen(). */ -static int dlfcn_load(DSO *dso, char *filename) +static int dlfcn_load(DSO *dso, const char *filename) { void *ptr; @@ -148,7 +148,7 @@ static int dlfcn_unload(DSO *dso) return(1); } -static int dlfcn_bind(DSO *dso, char *symname, void **symptr) +static int dlfcn_bind(DSO *dso, const char *symname, void **symptr) { void *ptr, *sym;