summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-12-09 18:10:25 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-12-09 18:10:25 +0000
commit046c3d1156d795ac61465e04ca8b44a3c0744870 (patch)
tree984cc37fa7349fa5abfc0ccc8a8c7861d3595926 /lib/csu
parentd7976764a996c5568f4e7422d4db87b7ebaa9c09 (diff)
dlopen and dlsym take const char * parameters.
Fix prototypes, propagate const where applicable.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/common.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/csu/common.c b/lib/csu/common.c
index 41c7dca1a52..978ee4a3c70 100644
--- a/lib/csu/common.c
+++ b/lib/csu/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.4 1999/08/24 20:41:04 niklas Exp $ */
+/* $OpenBSD: common.c,v 1.5 1999/12/09 18:10:24 espie Exp $ */
/* $NetBSD: common.c,v 1.4 1995/09/23 22:34:20 pk Exp $ */
/*
* Copyright (c) 1993,1995 Paul Kranenburg
@@ -165,8 +165,8 @@ __load_rtld(dp)
void *
dlopen(name, mode)
- char *name;
- int mode;
+ const char *name;
+ int mode;
{
if (ld_entry == NULL)
return NULL;
@@ -186,8 +186,8 @@ dlclose(fd)
void *
dlsym(fd, name)
- void *fd;
- char *name;
+ void *fd;
+ const char *name;
{
if (ld_entry == NULL)
return NULL;