nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS

This commit is contained in:
Florian Weimer 2020-02-12 11:47:49 +01:00
parent 9d45607d86
commit bf0041b252
3 changed files with 6 additions and 0 deletions

View 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

View File

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

View 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