From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2793 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: removed symbols in strings.h Date: Mon, 11 Feb 2013 16:52:23 -0500 Message-ID: <20130211215223.GW20323@brightrain.aerifal.cx> References: <1360614347.2536.49.camel@eris.loria.fr> <8923846D-177A-499F-98B6-B2CDD149AD39@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1360619555 23914 80.91.229.3 (11 Feb 2013 21:52:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 21:52:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2794-gllmg-musl=m.gmane.org@lists.openwall.com Mon Feb 11 22:52:57 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1U51J0-0003vC-IC for gllmg-musl@plane.gmane.org; Mon, 11 Feb 2013 22:52:54 +0100 Original-Received: (qmail 17719 invoked by uid 550); 11 Feb 2013 21:52:35 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17711 invoked from network); 11 Feb 2013 21:52:35 -0000 Content-Disposition: inline In-Reply-To: <8923846D-177A-499F-98B6-B2CDD149AD39@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2793 Archived-At: On Mon, Feb 11, 2013 at 01:14:30PM -0800, nwmcsween@gmail.com wrote: > #if posix .... > deprecated warning etc > #endif No, if it's removed from POSIX, then they can't be declared, since the namespace belongs to the application. For instance, index() could be an application-defined macro that does something completely different. I doubt apps will do that for a while until POSIX 2008 is mainstream, but that's what the text of the standard means. What should be done, I think, is just exposing these functions under the same rules gethostbyname is exposed under. Rich