mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
resolv: Move res_queriesmatch to its own file and into libc
And reformat it to GNU style. The treatment of this function matches res_nameinquery, for the reasons stated there. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -47,3 +47,10 @@ res_nameinquery (const char *name, int type, int class,
|
||||
{
|
||||
return __libc_res_nameinquery (name, type, class, buf, eom);
|
||||
}
|
||||
|
||||
int
|
||||
res_queriesmatch (const unsigned char *buf1, const unsigned char *eom1,
|
||||
const unsigned char *buf2, const unsigned char *eom2)
|
||||
{
|
||||
return __libc_res_queriesmatch (buf1, eom1, buf2, eom2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user