[PATCH] Further <resolv.h> cleanup

Florian Weimer fweimer@redhat.com
Tue Apr 11 10:33:00 GMT 2017


I'm not sure if this is okay from an API compatibility point of view.

_res._flags is supposed to be private to the resolver, so the RES_F_* 
constants should not be in an installed header file, but we nevertheless 
included them in <resolv.h>.

The other cleanups definitions should be uncontroversial.  The function 
declarations were discovered by comparing the symbol lists of libc and 
libresolv with an C AST dump after parsing <resolv.h>.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolv-cleanup.patch
Type: text/x-patch
Size: 4617 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170411/219f65be/attachment.bin>


More information about the Libc-alpha mailing list