From 5e1ce61e3e71fb7ffe53f58fe96e67cb15f94854 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 29 Jun 2021 12:06:40 +0200 Subject: [PATCH] nss: Fix NSS_DECLARE_MODULE_FUNCTIONS handling of _nss_*_endnetgrent The old version had an additional underscore, making the declaration ineffective. --- nss/nss.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nss/nss.h b/nss/nss.h index ae213f9a6c..c6d62adc0f 100644 --- 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; \