From patchwork Mon Jun 7 17:38:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 43743 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 90A4238930DB for ; Mon, 7 Jun 2021 17:39:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90A4238930DB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1623087584; bh=PctsBgnO1sUhD5BMAYLH4btw8VKTFa5K5Umuco6DLhw=; h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=jpQBrOY9Aedg2Q+cXuVZHftGhsH3zrgKDteeM2Vh4kxCUHDA+j+vCkRlBhxZkYyK1 tscoNFw4FPIVyqrg9tiYsAQgfE2QKCf3iZgkt0R3fNkyB+FUf3o/X8a5QyNoyKnVKa zg+86mDSOJzm7LjBrHNImEuThw63v81urnw4yy20= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 7CD1E3938C08 for ; Mon, 7 Jun 2021 17:38:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7CD1E3938C08 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-F_rQ_QaLP1i_z8hmq-xgrg-1; Mon, 07 Jun 2021 13:38:05 -0400 X-MC-Unique: F_rQ_QaLP1i_z8hmq-xgrg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C333980ED96 for ; Mon, 7 Jun 2021 17:38:04 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-115-60.ams2.redhat.com [10.36.115.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1B67619C66 for ; Mon, 7 Jun 2021 17:38:03 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH 1/8] nss: Fix NSS_DECLARE_MODULE_FUNCTIONS handling of _nss_*_endnetgrent In-Reply-To: References: X-From-Line: f12db7afceb1274a2be7c46fc2da50de1e02a01f Mon Sep 17 00:00:00 2001 Message-Id: Date: Mon, 07 Jun 2021 19:38:02 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" 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; \