nss: Fix NSS_DECLARE_MODULE_FUNCTIONS handling of _nss_*_endnetgrent
authorFlorian Weimer <fweimer@redhat.com>
Tue, 29 Jun 2021 10:06:40 +0000 (12:06 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 29 Jun 2021 10:06:40 +0000 (12:06 +0200)
The old version had an additional underscore, making the declaration
ineffective.

nss/nss.h

index ae213f9..c6d62ad 100644 (file)
--- a/nss/nss.h
+++ b/nss/nss.h
@@ -196,7 +196,7 @@ typedef enum nss_status nss_setspent (int);
   extern nss_endgrent _nss_##module##_endgrent;                          \
   extern nss_endhostent _nss_##module##_endhostent;                      \
   extern nss_endnetent _nss_##module##_endnetent;                        \
-  extern nss_endnetgrent _nss_##module##__endnetgrent;                   \
+  extern nss_endnetgrent _nss_##module##_endnetgrent;                    \
   extern nss_endprotoent _nss_##module##_endprotoent;                    \
   extern nss_endpwent _nss_##module##_endpwent;                          \
   extern nss_endrpcent _nss_##module##_endrpcent;                        \