aboutsummaryrefslogtreecommitdiff
path: root/resolv/nss_dns
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-12 11:47:49 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-13 09:14:58 +0100
commitbd65a52a5ff340a134e97d5ce803d24b12d9cf17 (patch)
tree550badd88a51ff24a87d56b1808d8a32f9350c06 /resolv/nss_dns
parent680f1093229836e7f2d77a0a6b94b8a3bd47308f (diff)
downloadglibc-bd65a52a5ff340a134e97d5ce803d24b12d9cf17.tar
glibc-bd65a52a5ff340a134e97d5ce803d24b12d9cf17.tar.gz
glibc-bd65a52a5ff340a134e97d5ce803d24b12d9cf17.tar.bz2
glibc-bd65a52a5ff340a134e97d5ce803d24b12d9cf17.zip
nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'resolv/nss_dns')
-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