public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
@ 2020-02-13 8:59 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-02-13 8:59 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6978700688f6ebc8213f3340e67490d22e7921c2
commit 6978700688f6ebc8213f3340e67490d22e7921c2
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Feb 12 11:46:59 2020 +0100
nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
Reviewed-by: DJ Delorie <dj@redhat.com>
Diff:
---
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 c6d0224..158d4f0 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 d317fb7..03f4fa2 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 335b594..36ca3d1 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 94fa511..ce93fd3 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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-13 8:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 8:59 [glibc] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS Florian Weimer
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).