[patch] Don't duplicate declarations between string.h and strings.h
Zack Weinberg
zackw@panix.com
Mon Nov 21 17:17:00 GMT 2016
On Wed, Nov 16, 2016 at 3:55 PM, Zack Weinberg <zackw@panix.com> wrote:
> I was looking into something else and noticed that all of the
> declarations in strings.h are duplicated in string.h, but not quite
> consistently. This patch cleans that all up; strings.h is given
> consistent declarations of everything, and then string.h just does
>
> #ifdef __USE_MISC
> # include <strings.h>
> #endif
>
> The prototype of __bzero is moved to include/string.h instead of
> strings.h, since it is an internal name.
>
> Tested on x86-64/linux. OK?
Ping?
More information about the Libc-alpha
mailing list