packaging: renamed linaro-glibc.spec -> glibc.spec
[platform/upstream/glibc.git] / resolv / resolv-deprecated.c
index 0fe9e4f..efa6ae7 100644 (file)
@@ -1,5 +1,5 @@
 /* Forwarders for deprecated libresolv functions which are implemented in libc.
-   Copyright (C) 2021 Free Software Foundation, Inc.
+   Copyright (C) 2021-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -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);
+}