unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: libc-alpha@sourceware.org
Subject: [PATCH 3/7] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
Date: Wed, 12 Feb 2020 15:34:33 +0100	[thread overview]
Message-ID: <d8af48b1d74b772a300868eabc0e4b457857da99.1581517927.git.fweimer@redhat.com> (raw)
In-Reply-To: <cover.1581517927.git.fweimer@redhat.com>

---
 hesiod/nss_hesiod/hesiod-grp.c     | 2 ++
 hesiod/nss_hesiod/hesiod-proto.c   | 2 ++
 hesiod/nss_hesiod/hesiod-pwd.c     | 2 ++
 hesiod/nss_hesiod/hesiod-service.c | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/hesiod/nss_hesiod/hesiod-grp.c b/hesiod/nss_hesiod/hesiod-grp.c
index c6d02247b7..158d4f02d8 100644
--- a/hesiod/nss_hesiod/hesiod-grp.c
+++ b/hesiod/nss_hesiod/hesiod-grp.c
@@ -26,6 +26,8 @@
 #include <string.h>
 #include <sys/param.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
+
 /* Get the declaration of the parser function.  */
 #define ENTNAME grent
 #define STRUCTURE group
diff --git a/hesiod/nss_hesiod/hesiod-proto.c b/hesiod/nss_hesiod/hesiod-proto.c
index d317fb71df..03f4fa2131 100644
--- a/hesiod/nss_hesiod/hesiod-proto.c
+++ b/hesiod/nss_hesiod/hesiod-proto.c
@@ -25,6 +25,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
+
 /* Declare a parser for Hesiod protocol entries.  Although the format
    of the entries is identical to those in /etc/protocols, here is no
    predefined parser for us to use.  */
diff --git a/hesiod/nss_hesiod/hesiod-pwd.c b/hesiod/nss_hesiod/hesiod-pwd.c
index 335b594f31..36ca3d1a19 100644
--- a/hesiod/nss_hesiod/hesiod-pwd.c
+++ b/hesiod/nss_hesiod/hesiod-pwd.c
@@ -24,6 +24,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
+
 /* Get the declaration of the parser function.  */
 #define ENTNAME pwent
 #define STRUCTURE passwd
diff --git a/hesiod/nss_hesiod/hesiod-service.c b/hesiod/nss_hesiod/hesiod-service.c
index 94fa5112c9..ce93fd3d8f 100644
--- a/hesiod/nss_hesiod/hesiod-service.c
+++ b/hesiod/nss_hesiod/hesiod-service.c
@@ -25,6 +25,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
+
 /* Hesiod uses a format for service entries that differs from the
    traditional format.  We therefore declare our own parser.  */
 
-- 
2.24.1



  parent reply	other threads:[~2020-02-12 14:34 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 ` Florian Weimer [this message]
2020-02-13  1:11   ` [PATCH 3/7] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS 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 ` [PATCH 7/7] nss_dns: " Florian Weimer
2020-02-13  1:19   ` 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=d8af48b1d74b772a300868eabc0e4b457857da99.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).