aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-12 11:46:59 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-13 09:14:44 +0100
commit6978700688f6ebc8213f3340e67490d22e7921c2 (patch)
tree404342b77bda7c756dfb1f0aa6821c92d8e9a1b3
parent499a92df8b9fc64a054cf3b7f728f8967fc1da7d (diff)
downloadglibc-6978700688f6ebc8213f3340e67490d22e7921c2.zip
glibc-6978700688f6ebc8213f3340e67490d22e7921c2.tar.gz
glibc-6978700688f6ebc8213f3340e67490d22e7921c2.tar.bz2
nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
Reviewed-by: DJ Delorie <dj@redhat.com>
-rw-r--r--hesiod/nss_hesiod/hesiod-grp.c2
-rw-r--r--hesiod/nss_hesiod/hesiod-proto.c2
-rw-r--r--hesiod/nss_hesiod/hesiod-pwd.c2
-rw-r--r--hesiod/nss_hesiod/hesiod-service.c2
4 files changed, 8 insertions, 0 deletions
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. */