From patchwork Mon Mar 8 18:53:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1449340 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=iBzzWcez; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DvSFF1lKhz9sW1 for ; Tue, 9 Mar 2021 05:54:41 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 545983954460; Mon, 8 Mar 2021 18:54:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 545983954460 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1615229657; bh=bHLgot04ZhQA3vEfbkin/yswvck+oCV4NRicxuEVRKQ=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=iBzzWcezRSOk/8Lm85LyIH1rgZP7PQzxGI+SgxejbKXYJV5DzdOu/B86dAW+QsNUB nUJy+ulHa32eJ8rrO3RSJSbdfOM+hvMSp26qHkIm0/dqudtV8WPTlq/O+4v1yRJwLM dJQFR1Z5XRTfURNgMrpzC9Z0MlV5NHPWLabRSdjg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 4C7A83951402 for ; Mon, 8 Mar 2021 18:54:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4C7A83951402 Received: by mail-wm1-x32f.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso4443021wmi.0 for ; Mon, 08 Mar 2021 10:54:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bHLgot04ZhQA3vEfbkin/yswvck+oCV4NRicxuEVRKQ=; b=Z/VrunlVFW3HBPNGtGNpRtsa4v//s1JzTTCzkCjb89cEnMS95Bj64DZAUk9CR5k+Nn 6vsMxiHEfdxNFtabT92FmOz2MwqnhGdexfujeoyZEdJaBI4OKlW3eKztMHoZ2GyGWcKo dQdrEuFp0ptoLOzZ0+/hETppnBYu1sF5oHMln4/1+bFUIce27LLxLAMikyUXN24P537N hcyjypstdF1liR+0TGiu3yLtY334PWhIcMOmi9UxoPYW8KmjJVdfhV8cUU7+D5iiQ5X7 MAEtARMv0umxuYe+P/kHX4upAGCWBaiRURUY1ID45vrXNjvUFY/d6vVcSRqCCeHeDGIw s/3w== X-Gm-Message-State: AOAM533SOyHLx09E1LDqvJ5NgtNTkYa0bM1x1/gdLbwyNnclSesy9p18 rUT2QNBrxopDkN+oKynVSaI= X-Google-Smtp-Source: ABdhPJyNVt2pd/f//KVnUmNNNSL/jWuZ77jZTzGKUPkmXAcE+Kuj5LtCUTbU2L45NLEla0x8IndNqw== X-Received: by 2002:a1c:4e12:: with SMTP id g18mr218071wmh.56.1615229653510; Mon, 08 Mar 2021 10:54:13 -0800 (PST) Received: from sqli.sqli.com ([195.53.121.100]) by smtp.googlemail.com with ESMTPSA id i11sm19889921wro.53.2021.03.08.10.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 10:54:13 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 07/23] pthread_getattr_default_np.3: SYNOPSIS: Add missing 'const' Date: Mon, 8 Mar 2021 19:53:16 +0100 Message-Id: <20210308185331.242176-8-alx.manpages@gmail.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210308185331.242176-1-alx.manpages@gmail.com> References: <20210308185331.242176-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" glibc uses 'const' in pthread_setattr_default_np(). Let's use it here too. .../glibc$ grep_glibc_prototype pthread_setattr_default_np sysdeps/nptl/pthread.h:406: extern int pthread_setattr_default_np (const pthread_attr_t *__attr) __THROW __nonnull ((1)); .../glibc$ Signed-off-by: Alejandro Colomar --- man3/pthread_getattr_default_np.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/pthread_getattr_default_np.3 b/man3/pthread_getattr_default_np.3 index ad2a92f52..6a24006bf 100644 --- a/man3/pthread_getattr_default_np.3 +++ b/man3/pthread_getattr_default_np.3 @@ -32,7 +32,7 @@ get or set default thread-creation attributes .B #include .PP .BI "int pthread_getattr_default_np(pthread_attr_t *" attr ); -.BI "int pthread_setattr_default_np(pthread_attr_t *" attr ); +.BI "int pthread_setattr_default_np(const pthread_attr_t *" attr ); .PP Compile and link with \fI\-pthread\fP. .fi