projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Constification, and a silly mistake in the comments.
[openssl.git]
/
crypto
/
dso
/
dso_dlfcn.c
diff --git
a/crypto/dso/dso_dlfcn.c
b/crypto/dso/dso_dlfcn.c
index 93545ecdafb62548d0508728af939cf421d42b7d..c5db28f3566c73077eda051d9102126be34a2670 100644
(file)
--- a/
crypto/dso/dso_dlfcn.c
+++ b/
crypto/dso/dso_dlfcn.c
@@
-71,9
+71,9
@@
DSO_METHOD *DSO_METHOD_dlfcn(void)
#include <dlfcn.h>
#endif
#include <dlfcn.h>
#endif
-static int dlfcn_load(DSO *dso, char *filename);
+static int dlfcn_load(DSO *dso, c
onst c
har *filename);
static int dlfcn_unload(DSO *dso);
static int dlfcn_unload(DSO *dso);
-static int dlfcn_bind(DSO *dso, char *symname, void **symptr);
+static int dlfcn_bind(DSO *dso, c
onst c
har *symname, void **symptr);
#if 0
static int dlfcn_unbind(DSO *dso, char *symname, void *symptr);
static int dlfcn_init(DSO *dso);
#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().
*/
* (i) the handle (void*) returned from dlopen().
*/
-static int dlfcn_load(DSO *dso, char *filename)
+static int dlfcn_load(DSO *dso, c
onst c
har *filename)
{
void *ptr;
{
void *ptr;
@@
-148,7
+148,7
@@
static int dlfcn_unload(DSO *dso)
return(1);
}
return(1);
}
-static int dlfcn_bind(DSO *dso, char *symname, void **symptr)
+static int dlfcn_bind(DSO *dso, c
onst c
har *symname, void **symptr)
{
void *ptr, *sym;
{
void *ptr, *sym;