]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
authorFlorian Weimer <fweimer@redhat.com>
Wed, 12 Feb 2020 10:46:59 +0000 (11:46 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 13 Feb 2020 08:14:44 +0000 (09:14 +0100)
Reviewed-by: DJ Delorie <dj@redhat.com>
hesiod/nss_hesiod/hesiod-grp.c
hesiod/nss_hesiod/hesiod-proto.c
hesiod/nss_hesiod/hesiod-pwd.c
hesiod/nss_hesiod/hesiod-service.c

index c6d02247b7239430d9dc67b936b7d188c77ded2f..158d4f02d8d5a96d25c599ef59dc1f69b5141fc7 100644 (file)
@@ -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
index d317fb71dfdf67219348ef582d38f64ff75e8996..03f4fa21313c31902f0aa0f5afdb35c4ca8d4477 100644 (file)
@@ -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.  */
index 335b594f31c8e43441a5066add06de9ea6aa15e6..36ca3d1a19eaadf829f956e7c93ce560c147860a 100644 (file)
@@ -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
index 94fa5112c9e51be3eb2ca1133b444061363398a5..ce93fd3d8fa8ea6636b3e06fbb658929fbfdc2c5 100644 (file)
@@ -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.  */