From owner-cvs-include Mon Oct 7 13:49:19 1996 Return-Path: owner-cvs-include Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA27256 for cvs-include-outgoing; Mon, 7 Oct 1996 13:49:19 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA27239; Mon, 7 Oct 1996 13:49:05 -0700 (PDT) Date: Mon, 7 Oct 1996 13:49:05 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610072049.NAA27239@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-include Subject: cvs commit: src/include link.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/07 13:49:05 Modified: include link.h Log: 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 Revision Changes Path 1.8 +3 -3 src/include/link.h From owner-cvs-include Mon Oct 7 17:53:57 1996 Return-Path: owner-cvs-include Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA14594 for cvs-include-outgoing; Mon, 7 Oct 1996 17:53:57 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA14585; Mon, 7 Oct 1996 17:53:50 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.0/8.8.0) with ESMTP id IAA09397; Tue, 8 Oct 1996 08:53:45 +0800 (WST) Message-Id: <199610080053.IAA09397@spinner.DIALix.COM> X-Mailer: exmh version 1.6.7 5/3/96 To: "Marc G. Fournier" cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-include@freefall.freebsd.org Subject: Re: cvs commit: src/include link.h In-reply-to: Your message of "Mon, 07 Oct 1996 13:49:05 MST." <199610072049.NAA27239@freefall.freebsd.org> Date: Tue, 08 Oct 1996 08:53:44 +0800 From: Peter Wemm Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Marc G. Fournier" wrote: > 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 Umm... They are actually implemented as in link.h not dlfcn.h.. Now lib/csu/i386 doesn't compile... Cheers, -Peter From owner-cvs-include Mon Oct 7 18:37:25 1996 Return-Path: owner-cvs-include Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA17973 for cvs-include-outgoing; Mon, 7 Oct 1996 18:37:25 -0700 (PDT) Received: from quagmire.ki.net (root@quagmire.ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA17922; Mon, 7 Oct 1996 18:36:55 -0700 (PDT) Received: from spirit.ki.net (root@spirit.ki.net [205.150.102.51]) by quagmire.ki.net (8.7.5/8.7.5) with ESMTP id VAA06250; Mon, 7 Oct 1996 21:36:42 -0400 (EDT) Received: from localhost (scrappy@localhost) by spirit.ki.net (8.7.5/8.7.3) with SMTP id VAA06319; Mon, 7 Oct 1996 21:36:42 -0400 (EDT) X-Authentication-Warning: spirit.ki.net: scrappy owned process doing -bs Date: Mon, 7 Oct 1996 21:36:41 -0400 (EDT) From: "Marc G. Fournier" To: Peter Wemm cc: "Marc G. Fournier" , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-include@freefall.freebsd.org Subject: Re: cvs commit: src/include link.h In-Reply-To: <199610080053.IAA09397@spinner.DIALix.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 8 Oct 1996, Peter Wemm wrote: > "Marc G. Fournier" wrote: > > 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 > > Umm... They are actually implemented as in link.h not dlfcn.h.. > > Now lib/csu/i386 doesn't compile... > Noted, and "fixing" crt0.c isn't a fix...and looking inside crt0.c, dlfcn.h is the "miss" defined include file...:( Sorry about that...I made an assumption based on *how* dlopen/dlsym were defined in link.h...will fix it... Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org From owner-cvs-include Mon Oct 7 18:38:50 1996 Return-Path: owner-cvs-include Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA18088 for cvs-include-outgoing; Mon, 7 Oct 1996 18:38:50 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA18062; Mon, 7 Oct 1996 18:38:39 -0700 (PDT) Date: Mon, 7 Oct 1996 18:38:39 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610080138.SAA18062@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-include Subject: cvs commit: src/include link.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/07 18:38:38 Modified: include link.h Log: Fixed the wrong include file for a "prototype mismatch" error between dlfcn.h and link.h Revision Changes Path 1.9 +3 -3 src/include/link.h