From patchwork Wed Feb 12 14:34:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 37998 Received: (qmail 36128 invoked by alias); 12 Feb 2020 14:34:46 -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 36039 invoked by uid 89); 12 Feb 2020 14:34:46 -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= X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581518083; 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=qZavSjUITYu6eYr2b5I5NIyJJbLy6QxJroXNCJz8G3A=; b=dMYQaiE1KXuCXl+xa1mDM07VOseSc1pZgx52il/ptgp+dcuJ3M4Ro+dGBMJdw0rWZRjUgg xUMIgpF8V7SuQdHqz0Kr4Tqcp2koUQS/ZytBa28+dMmf8uIyjBzOEnR9K0c0vMIbuTWERH +LjEIhBw2BhtPT/FhqjAZ/VmjjLyra8= From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 4/7] nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS In-Reply-To: References: X-From-Line: 36b6bee2407fd588d9bb543db0b6e69ecf4d09f9 Mon Sep 17 00:00:00 2001 Message-Id: <36b6bee2407fd588d9bb543db0b6e69ecf4d09f9.1581517927.git.fweimer@redhat.com> Date: Wed, 12 Feb 2020 15:34:37 +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 --- nss/nss_compat/compat-grp.c | 2 ++ nss/nss_compat/compat-initgroups.c | 2 ++ nss/nss_compat/compat-pwd.c | 2 ++ nss/nss_compat/compat-spwd.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/nss/nss_compat/compat-grp.c b/nss/nss_compat/compat-grp.c index 561511c91a..14aadc6f01 100644 --- a/nss/nss_compat/compat-grp.c +++ b/nss/nss_compat/compat-grp.c @@ -27,6 +27,8 @@ #include #include +NSS_DECLARE_MODULE_FUNCTIONS (compat) + static service_user *ni; static enum nss_status (*setgrent_impl) (int stayopen); static enum nss_status (*getgrnam_r_impl) (const char *name, diff --git a/nss/nss_compat/compat-initgroups.c b/nss/nss_compat/compat-initgroups.c index d2a280d9c3..67a4c100f6 100644 --- a/nss/nss_compat/compat-initgroups.c +++ b/nss/nss_compat/compat-initgroups.c @@ -30,6 +30,8 @@ #include #include +NSS_DECLARE_MODULE_FUNCTIONS (compat) + static service_user *ni; static enum nss_status (*initgroups_dyn_impl) (const char *, gid_t, long int *, long int *, diff --git a/nss/nss_compat/compat-pwd.c b/nss/nss_compat/compat-pwd.c index b964e6f644..dfb454f777 100644 --- a/nss/nss_compat/compat-pwd.c +++ b/nss/nss_compat/compat-pwd.c @@ -31,6 +31,8 @@ #include "netgroup.h" #include "nisdomain.h" +NSS_DECLARE_MODULE_FUNCTIONS (compat) + static service_user *ni; static enum nss_status (*setpwent_impl) (int stayopen); static enum nss_status (*getpwnam_r_impl) (const char *name, diff --git a/nss/nss_compat/compat-spwd.c b/nss/nss_compat/compat-spwd.c index 15f5b95bb0..0a1fde1ea4 100644 --- a/nss/nss_compat/compat-spwd.c +++ b/nss/nss_compat/compat-spwd.c @@ -31,6 +31,8 @@ #include "netgroup.h" #include "nisdomain.h" +NSS_DECLARE_MODULE_FUNCTIONS (compat) + static service_user *ni; static enum nss_status (*setspent_impl) (int stayopen); static enum nss_status (*getspnam_r_impl) (const char *name, struct spwd * sp,