From: Florian Weimer Date: Wed, 12 Feb 2020 10:46:59 +0000 (+0100) Subject: nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS X-Git-Tag: glibc-2.32~665 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6978700688f6ebc8213f3340e67490d22e7921c2;p=thirdparty%2Fglibc.git nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS Reviewed-by: DJ Delorie --- diff --git a/hesiod/nss_hesiod/hesiod-grp.c b/hesiod/nss_hesiod/hesiod-grp.c index c6d02247b72..158d4f02d8d 100644 --- a/hesiod/nss_hesiod/hesiod-grp.c +++ b/hesiod/nss_hesiod/hesiod-grp.c @@ -26,6 +26,8 @@ #include #include +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 d317fb71dfd..03f4fa21313 100644 --- a/hesiod/nss_hesiod/hesiod-proto.c +++ b/hesiod/nss_hesiod/hesiod-proto.c @@ -25,6 +25,8 @@ #include #include +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 335b594f31c..36ca3d1a19e 100644 --- a/hesiod/nss_hesiod/hesiod-pwd.c +++ b/hesiod/nss_hesiod/hesiod-pwd.c @@ -24,6 +24,8 @@ #include #include +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 94fa5112c9e..ce93fd3d8fa 100644 --- a/hesiod/nss_hesiod/hesiod-service.c +++ b/hesiod/nss_hesiod/hesiod-service.c @@ -25,6 +25,8 @@ #include #include +NSS_DECLARE_MODULE_FUNCTIONS (hesiod) + /* Hesiod uses a format for service entries that differs from the traditional format. We therefore declare our own parser. */