[PATCH COMMITTED] resolv: Remove _LIBC conditionals

Florian Weimer fweimer@redhat.com
Thu Apr 28 15:27:00 GMT 2016


On 04/28/2016 04:16 PM, Joseph Myers wrote:
> On Thu, 28 Apr 2016, Florian Weimer wrote:
>
>> -#ifdef _LIBC
>>   # include <endian.h>
>>   # include <stdint.h>
>>   # include <stdlib.h>
>>   # include <limits.h>
>>   # include <errno.h>
>> -#endif
>
> In cases such as this you need to update the preprocessor indentation
> inside the removed conditionals.

Right, I fixed up only some cases.  The attached patch addresses the 
remaining ones.

> I presume all these patches have been tested not to change the generated
> code unless line numbers in assertions are involved.

Yes, the series as whole did not change object code, except for line 
numbers in asserts.

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-resolv-Reindent-preprocessor-conditionals-following-.patch
Type: text/x-patch
Size: 1813 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160428/b2e19510/attachment.bin>


More information about the Libc-alpha mailing list