From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2844 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: removed symbols in strings.h Date: Tue, 26 Feb 2013 01:31:39 -0500 Message-ID: <20130226063139.GA20323@brightrain.aerifal.cx> References: <1360614347.2536.49.camel@eris.loria.fr> 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 1361860313 15779 80.91.229.3 (26 Feb 2013 06:31:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 06:31:53 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2845-gllmg-musl=m.gmane.org@lists.openwall.com Tue Feb 26 07:32:16 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 1UAE5H-0006Jn-KC for gllmg-musl@plane.gmane.org; Tue, 26 Feb 2013 07:32:15 +0100 Original-Received: (qmail 26416 invoked by uid 550); 26 Feb 2013 06:31:52 -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 26408 invoked from network); 26 Feb 2013 06:31:52 -0000 Content-Disposition: inline In-Reply-To: <1360614347.2536.49.camel@eris.loria.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2844 Archived-At: On Mon, Feb 11, 2013 at 09:25:47PM +0100, Jens Gustedt wrote: > Hello, > the functions > > int bcmp (const void *, const void *, size_t); > void bcopy (const void *, void *, size_t); > void bzero (void *, size_t); > char *index (const char *, int); > char *rindex (const char *, int); > > in strings.h are removed from the current version of the POSIX > standard. Shouldn't that mean they should be put between guards > (something with POSIX version and / or __GNU_SOURCE) Fixed. > and the symbols > made weak in the library? They're not referenced by anything else in the library and they're in their own translation units, so whether they're weak makes no difference. Rich