public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/nss-declare] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
@ 2020-02-12 14:16 Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2020-02-12 14:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f6d82e774e35b1ef7b9eb912f5638682daeec22f
commit f6d82e774e35b1ef7b9eb912f5638682daeec22f
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Feb 12 11:46:59 2020 +0100
nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
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] 2+ messages in thread
* [glibc/fw/nss-declare] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
@ 2020-02-12 14:30 Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2020-02-12 14:30 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d8af48b1d74b772a300868eabc0e4b457857da99
commit d8af48b1d74b772a300868eabc0e4b457857da99
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Feb 12 11:46:59 2020 +0100
nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
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] 2+ messages in thread
end of thread, other threads:[~2020-02-12 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 14:16 [glibc/fw/nss-declare] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS Florian Weimer
2020-02-12 14:30 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).