[PATCH v2 15/16] arm: Define __memchr
Richard Henderson
rth@twiddle.net
Fri Dec 23 18:55:00 GMT 2016
On 12/21/2016 04:25 PM, Joseph Myers wrote:
> On Wed, 21 Dec 2016, Richard Henderson wrote:
>
>> All other memchr implementations define it.
>
> But since memchr is a C90 function (so there are no external-linkage
> namespace issues), and not used in any macros defined in installed headers
> (so no block-scope namespace issues), is there any actual use for
> __memchr, or should all the implementations just define memchr and not
> __memchr?
>
It's an excellent question. As best I can tell, __memchr is no longer used (or
was never used -- it's hard to tell) at all.
Probably it should be purged from all of the implementations.
r~
More information about the Libc-alpha
mailing list