From 417a88b9aae05788ac887c8128df06ecc1bb627c Mon Sep 17 00:00:00 2001 From: scrappy Date: Mon, 7 Oct 1996 20:49:03 +0000 Subject: dlfcn.h and link.h have conflicting declarations for dlopen/dlsym, with dlfcn.h declaring them as: void *dlopen __P((const char *, int)); void *dlsym __P((void *, const char *)); while link.h declared them as extern void *dlopen __P((char *, int)); extern void *dlsym __P((void *, char *)); Fix link.h to match dlfcn.h --- sys/sys/link_aout.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/sys/link_aout.h') diff --git a/sys/sys/link_aout.h b/sys/sys/link_aout.h index 7d35e02..0225630 100644 --- a/sys/sys/link_aout.h +++ b/sys/sys/link_aout.h @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: link.h,v 1.6 1996/01/30 23:30:20 mpp Exp $ + * $Id: link.h,v 1.7 1996/10/01 00:25:32 peter Exp $ */ /* @@ -184,9 +184,9 @@ struct ld_entry { /* * dl*() prototypes. */ -extern void *dlopen __P((char *, int)); +extern void *dlopen __P((const char *, int)); extern int dlclose __P((void *)); -extern void *dlsym __P((void *, char *)); +extern void *dlsym __P((void *, const char *)); extern char *dlerror __P((void)); -- cgit v1.1