nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS
authorFlorian Weimer <fweimer@redhat.com>
Wed, 12 Feb 2020 10:47:49 +0000 (11:47 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 13 Feb 2020 08:14:58 +0000 (09:14 +0100)
Reviewed-by: DJ Delorie <dj@redhat.com>
resolv/nss_dns/dns-canon.c
resolv/nss_dns/dns-host.c
resolv/nss_dns/dns-network.c

index 0849c04..5bcd169 100644 (file)
@@ -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
index fe90328..91c0a3b 100644 (file)
@@ -90,6 +90,8 @@
 #include <resolv/mapv4v6addr.h>
 #include <resolv/mapv4v6hostent.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (dns)
+
 #define RESOLVSORT
 
 #if PACKETSZ > 65536
index 906a3a6..250e7e7 100644 (file)
@@ -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