From: Florian Weimer <fweimer@redhat.com>
To: libc-alpha@sourceware.org
Subject: [PATCH 7/7] nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONS
Date: Wed, 12 Feb 2020 15:34:53 +0100 [thread overview]
Message-ID: <bf0041b252ee744229fd2ee672af1402ba70db5a.1581517927.git.fweimer@redhat.com> (raw)
In-Reply-To: <cover.1581517927.git.fweimer@redhat.com>
---
resolv/nss_dns/dns-canon.c | 2 ++
resolv/nss_dns/dns-host.c | 2 ++
resolv/nss_dns/dns-network.c | 2 ++
3 files changed, 6 insertions(+)
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
--
2.24.1
next prev parent reply other threads:[~2020-02-12 14:35 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-12 14:34 [PATCH 0/7] More type safety for NSS modules Florian Weimer
2020-02-12 14:34 ` [PATCH 1/7] nss_compat: Do not use nss_* names for function pointers Florian Weimer
2020-02-12 22:36 ` DJ Delorie
2020-02-12 14:34 ` [PATCH 2/7] nss: Add function types and NSS_DECLARE_MODULE_FUNCTIONS macro to <nss.h> Florian Weimer
2020-02-13 1:10 ` DJ Delorie
2020-02-12 14:34 ` [PATCH 3/7] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS Florian Weimer
2020-02-13 1:11 ` DJ Delorie
2020-02-12 14:34 ` [PATCH 4/7] nss_compat: " Florian Weimer
2020-02-13 1:14 ` DJ Delorie
2020-02-12 14:34 ` [PATCH 5/7] nss_db: " Florian Weimer
2020-02-13 1:18 ` DJ Delorie
2020-02-12 14:34 ` [PATCH 6/7] nss_files: " Florian Weimer
2020-02-13 1:26 ` DJ Delorie
2020-02-13 8:12 ` Florian Weimer
2020-02-12 14:34 ` Florian Weimer [this message]
2020-02-13 1:19 ` [PATCH 7/7] nss_dns: " DJ Delorie
2020-02-12 14:39 ` [PATCH 8/7] nss_nisplus: " Florian Weimer
2020-02-13 1:31 ` DJ Delorie
2020-02-13 8:11 ` Florian Weimer
2020-02-13 9:01 ` [PATCH 9/7] nss_nis: " Florian Weimer
2020-02-13 9:16 ` Andreas Schwab
2020-02-13 9:21 ` Andreas Schwab
2020-02-13 9:31 ` Florian Weimer
2020-02-13 9:38 ` Andreas Schwab
2020-02-25 14:50 ` Florian Weimer
2020-02-25 15:09 ` Andreas Schwab
2020-02-25 16:10 ` Florian Weimer
2020-02-25 16:41 ` Andreas Schwab
2020-02-25 16:44 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf0041b252ee744229fd2ee672af1402ba70db5a.1581517927.git.fweimer@redhat.com \
--to=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).