Date: Tue, 19 Nov 1996 10:37:38 -0600 (CST) From: randy@zyzzyva.com To: FreeBSD-gnats-submit@freebsd.org Subject: misc/2060: include file bugs Message-ID: <199611191637.KAA03695@sierra.zyzzyva.com> Resent-Message-ID: <199611191640.IAA15977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2060 >Category: misc >Synopsis: include files don't agree on prototypes >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 19 08:40:04 PST 1996 >Last-Modified: >Originator: Randy Terbush >Organization: Zyzzyva Enterprises >Release: FreeBSD 2.1.6-RELEASE i386 >Environment: FreeBSD 2.1.6 >Description: include/link.h and include/dlfcn.h disagree about prototypes listed as "critical" knowing pending release >How-To-Repeat: compile something using dl functions >Fix: *** /usr/include/link.h.orig Tue Nov 19 10:15:24 1996 --- src/include/link.h Tue Nov 19 10:17:58 1996 *************** *** 174,182 **** * to crt0. */ struct ld_entry { ! void *(*dlopen) __P((char *, int)); /* NONE */ int (*dlclose) __P((void *)); /* NONE */ ! void *(*dlsym) __P((void *, char *)); /* NONE */ char *(*dlerror) __P((void)); /* NONE */ void (*dlexit) __P((void)); /* HAS_DLEXIT */ }; --- 174,182 ---- * to crt0. */ struct ld_entry { ! void *(*dlopen) __P((const char *, int)); /* NONE */ int (*dlclose) __P((void *)); /* NONE */ ! void *(*dlsym) __P((void *, const char *)); /* NONE */ char *(*dlerror) __P((void)); /* NONE */ void (*dlexit) __P((void)); /* HAS_DLEXIT */ }; *************** *** 184,192 **** /* * dl*() prototypes. */ ! extern void *dlopen __P((char *, int)); extern int dlclose __P((void *)); ! extern void *dlsym __P((void *, char *)); extern char *dlerror __P((void)); --- 184,192 ---- /* * dl*() prototypes. */ ! extern void *dlopen __P((const char *, int)); extern int dlclose __P((void *)); ! extern void *dlsym __P((void *, const char *)); extern char *dlerror __P((void)); >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611191637.KAA03695>