From owner-freebsd-arch@FreeBSD.ORG Mon Mar 6 03:37:42 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AE1516A423; Mon, 6 Mar 2006 03:37:42 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C3B543D62; Mon, 6 Mar 2006 03:37:37 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id D65A92A8F3; Sun, 5 Mar 2006 19:37:36 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 85359E2B3; Sun, 5 Mar 2006 19:37:36 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.4) with ESMTP id k263baAb066415; Sun, 5 Mar 2006 19:37:36 -0800 (PST) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id k263bZmo066414; Sun, 5 Mar 2006 19:37:35 -0800 (PST) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-arch@freebsd.org, Daniel Eischen Date: Sun, 5 Mar 2006 19:37:34 -0800 User-Agent: KMail/1.8.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603051937.35717.peter@wemm.org> Cc: arch@freebsd.org Subject: Re: make tools question & symbol versioning X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 03:37:42 -0000 On Tuesday 28 February 2006 07:06 am, Daniel Eischen wrote: > On Tue, 28 Feb 2006, Hajimu UMEMOTO wrote: > > Hi, > > > > >>>>> On Tue, 28 Feb 2006 09:43:28 -0500 (EST) > > >>>>> Daniel Eischen said: > > > > deischen> For that particular function, I thought it was suppose to > > be exported deischen> for use by applications. It doesn't begin > > with underscores, and it deischen> ends with "_r", so it certainly > > looked like it should. > > > > deischen> These functions should be renamed if they are internal > > interfaces. > > > > No, they are already have __ prefix. Please refer > > libc/net/netdb_private.h. > > Ok, I see that now. Personally, I don't like renaming things like > that. It's just one more level of obfuscation. > > > deischen> I'll remove gethostbyname_r. If you find others that > > shouldn't be deischen> there, please let me know. > > > > Please remove the functions listed in netdb_private.h. > > Will do. These are real exported functions. The netdb_private.h thing is a hack to force people to do the correct #includes. People got tired of folks using ancient code with bogus manual 'extern' declarations with bogus structs and wondering why it didn't work correctly. I think they should be versioned, and the netdb_private.h stuff adjusted if necessary. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5