From patchwork Wed Feb 12 14:34:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1236897 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109587-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=UiN4hYtP; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=YeA5TBCM; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Hhxg3VjYz9s1x for ; Thu, 13 Feb 2020 01:35:03 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:references :message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=pjOSXMDAFyYP3cpB dMDSDzAm9YKkJ00muZlbAmaVYmnI6ZIN4GEre0ZsXDOV/RmNf5WZtVakM4lgSM1X VspQKKciduNN6s1sDTbqJVnUfnpz4DLf5U8fmPE8CHmaLRMBCU1ElSfadnDmgQOF DxNS9jBVDC+c6mT5eqNqxuU9M+k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:references :message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=G7ZAbD1AYSwATstg7RJ9u0 tqv0U=; b=UiN4hYtP6wDg1nv3uyMqP9M8w5qWZpLRxpaFhVQRSag7mhAhXnxPou edhShGnXVitYxXfZhicvy732dKh//+fK0e7UIkCGV1YZZjA1DOOmgc3xPKs1bnn7 7Npilp5+EzNlCD6lFyjRgleJEsttshhKnaIF0Wrm1DNQb1o0205R8= Received: (qmail 35679 invoked by alias); 12 Feb 2020 14:34:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 35597 invoked by uid 89); 12 Feb 2020 14:34:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=our X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581518079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DgrWVykrgGl94Gj5At2kAxBDRcARRsPGEkf2eMSvdYo=; b=YeA5TBCMHvZnHG4ctMFOo4BvAXR8Rou2y3vitoDBXwfaySIcH0QxFII+Y03F1H/YKoO6HX q89nZj5NDMSwHOkECFIvlm4R3EymXRDbcCDd7W8fwWUcfE9BK5UKgqVGS+/MyEiQXL9eQg /Gq+rWNdnuyOogH0MdmA4WaFrJ9GPn4= From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 3/7] nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS In-Reply-To: References: X-From-Line: d8af48b1d74b772a300868eabc0e4b457857da99 Mon Sep 17 00:00:00 2001 Message-Id: Date: Wed, 12 Feb 2020 15:34:33 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com --- hesiod/nss_hesiod/hesiod-grp.c | 2 ++ hesiod/nss_hesiod/hesiod-proto.c | 2 ++ hesiod/nss_hesiod/hesiod-pwd.c | 2 ++ hesiod/nss_hesiod/hesiod-service.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/hesiod/nss_hesiod/hesiod-grp.c b/hesiod/nss_hesiod/hesiod-grp.c index c6d02247b7..158d4f02d8 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 d317fb71df..03f4fa2131 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 335b594f31..36ca3d1a19 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 94fa5112c9..ce93fd3d8f 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. */