Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130226063139.GA20323@brightrain.aerifal.cx>
Date: Tue, 26 Feb 2013 01:31:39 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: removed symbols in strings.h

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.