nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS

Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
Florian Weimer 2020-02-12 11:47:49 +01:00
parent 680f109322
commit bd65a52a5f
3 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,8 @@
#include <resolv/resolv_context.h> #include <resolv/resolv_context.h>
#include <resolv/resolv-internal.h> #include <resolv/resolv-internal.h>
NSS_DECLARE_MODULE_FUNCTIONS (dns)
#if PACKETSZ > 65536 #if PACKETSZ > 65536
# define MAXPACKET PACKETSZ # define MAXPACKET PACKETSZ
#else #else

View File

@ -90,6 +90,8 @@
#include <resolv/mapv4v6addr.h> #include <resolv/mapv4v6addr.h>
#include <resolv/mapv4v6hostent.h> #include <resolv/mapv4v6hostent.h>
NSS_DECLARE_MODULE_FUNCTIONS (dns)
#define RESOLVSORT #define RESOLVSORT
#if PACKETSZ > 65536 #if PACKETSZ > 65536

View File

@ -70,6 +70,8 @@
#include <resolv/resolv-internal.h> #include <resolv/resolv-internal.h>
#include <resolv/resolv_context.h> #include <resolv/resolv_context.h>
NSS_DECLARE_MODULE_FUNCTIONS (dns)
/* Maximum number of aliases we allow. */ /* Maximum number of aliases we allow. */
#define MAX_NR_ALIASES 48 #define MAX_NR_ALIASES 48