about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-12 11:47:49 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-12 15:27:42 +0100
commitbf0041b252ee744229fd2ee672af1402ba70db5a (patch)
tree6d0ae0370b2699c15adef8889688c9c5f073a945
parent9d45607d865fac743fb327296e08d0149587b47f (diff)
downloadglibc-bf0041b252ee744229fd2ee672af1402ba70db5a.tar.gz
glibc-bf0041b252ee744229fd2ee672af1402ba70db5a.tar.xz
glibc-bf0041b252ee744229fd2ee672af1402ba70db5a.zip
nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS
-rw-r--r--resolv/nss_dns/dns-canon.c2
-rw-r--r--resolv/nss_dns/dns-host.c2
-rw-r--r--resolv/nss_dns/dns-network.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/resolv/nss_dns/dns-canon.c b/resolv/nss_dns/dns-canon.c
index 0849c04dbe..5bcd16958e 100644
--- a/resolv/nss_dns/dns-canon.c
+++ b/resolv/nss_dns/dns-canon.c
@@ -26,6 +26,8 @@
 #include <resolv/resolv_context.h>
 #include <resolv/resolv-internal.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (dns)
+
 #if PACKETSZ > 65536
 # define MAXPACKET	PACKETSZ
 #else
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
index fe90328175..91c0a3b0e4 100644
--- a/resolv/nss_dns/dns-host.c
+++ b/resolv/nss_dns/dns-host.c
@@ -90,6 +90,8 @@
 #include <resolv/mapv4v6addr.h>
 #include <resolv/mapv4v6hostent.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (dns)
+
 #define RESOLVSORT
 
 #if PACKETSZ > 65536
diff --git a/resolv/nss_dns/dns-network.c b/resolv/nss_dns/dns-network.c
index 906a3a6b06..250e7e7187 100644
--- a/resolv/nss_dns/dns-network.c
+++ b/resolv/nss_dns/dns-network.c
@@ -70,6 +70,8 @@
 #include <resolv/resolv-internal.h>
 #include <resolv/resolv_context.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (dns)
+
 /* Maximum number of aliases we allow.  */
 #define MAX_NR_ALIASES	48