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