mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS
This commit is contained in:
parent
9d45607d86
commit
bf0041b252
@ -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
|
||||
|
@ -90,6 +90,8 @@
|
||||
#include <resolv/mapv4v6addr.h>
|
||||
#include <resolv/mapv4v6hostent.h>
|
||||
|
||||
NSS_DECLARE_MODULE_FUNCTIONS (dns)
|
||||
|
||||
#define RESOLVSORT
|
||||
|
||||
#if PACKETSZ > 65536
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user