From patchwork Mon Mar 8 18:53:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1449342 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=ulvvvOya; 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 4DvSFP1Wt9z9sW1 for ; Tue, 9 Mar 2021 05:54:49 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6BEBE3954836; Mon, 8 Mar 2021 18:54:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6BEBE3954836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1615229659; bh=K/drAXEjQJHJ+Fo9ef70417YopJZciKi0Gu4CJxjrPY=; 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=ulvvvOya0C4nNjk4DZDwyqKei4FeIqNRExTvvC5QScZYrQ1uij2e/QKA1Yu24O/6s IvJn9XVgf2xHsSD9aXS5v7qw7wAJcqmTIzjDg/O6YQIk9MTZE8PeA4j7IYwX3vXyDA S/3MDdHyVR/pLDoVKzD6RrpPpSCokX6Ge0KyZ7NA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id C23E63954457 for ; Mon, 8 Mar 2021 18:54:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C23E63954457 Received: by mail-wm1-x32b.google.com with SMTP id y124-20020a1c32820000b029010c93864955so4447987wmy.5 for ; Mon, 08 Mar 2021 10:54:16 -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=K/drAXEjQJHJ+Fo9ef70417YopJZciKi0Gu4CJxjrPY=; b=AwBt+/m9bvUQnVIVY55YZkUDHXVVnkuVgmQ15394BRRoIB3ZlrOyyyZ8YHpLtvW95F DnVB+pQ8T4HoHurJDt6ffltff4KNGCFk0NG0bdi45UOmf2IQv9wBonSnzT+ZjQplosZA tu8R88FhcWJy7DBdxIMgPc2+PquD/rRs3i1t/e4+pTr7ZAW9RuDrprITbyLCvz4D+5zu 3jS/C9c5YsSToo1WgHEy8sk3XO9b1UuAoHxPZwQoT9AyPeocWCybcKJJiLEe4N+kGpdG pvFmdDcPClqwXkSPC6K72IRnzfcjLZtQUb7aUIo95uQ1dEELDYJaYRuRW01dMoDRDxCj ufvQ== X-Gm-Message-State: AOAM533hLOXUkjjhiZwq4Y4CII1mtf2+XKtbhT4PgIVapuQ96m1/A6LT w9l5WnBGi7UWIqCqc26dj60= X-Google-Smtp-Source: ABdhPJyoc8QX1Rn5YRbOKWpDbiYTdWRJXKWyBkqgT/7PfFg0lsBHNjBj3muClOlVh0NMB5wKE5NkpA== X-Received: by 2002:a7b:c410:: with SMTP id k16mr178482wmi.121.1615229656015; Mon, 08 Mar 2021 10:54:16 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 10:54:15 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 09/23] pthread_mutexattr_setrobust.3: SYNOPSIS: Remove incorrect 'const' Date: Mon, 8 Mar 2021 19:53:18 +0100 Message-Id: <20210308185331.242176-10-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.9 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" Neither POSIX or glibc use 'const' in pthread_mutexattr_setrobust(). Remove it. .../glibc$ grep_glibc_prototype pthread_mutexattr_setrobust sysdeps/htl/pthread.h:355: extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __THROW __nonnull ((1)); sysdeps/nptl/pthread.h:888: extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __THROW __nonnull ((1)); .../glibc$ Signed-off-by: Alejandro Colomar --- man3/pthread_mutexattr_setrobust.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/pthread_mutexattr_setrobust.3 b/man3/pthread_mutexattr_setrobust.3 index 9034d6faf..d2df02b00 100644 --- a/man3/pthread_mutexattr_setrobust.3 +++ b/man3/pthread_mutexattr_setrobust.3 @@ -33,7 +33,7 @@ pthread_mutexattr_getrobust, pthread_mutexattr_setrobust .PP .BI "int pthread_mutexattr_getrobust(const pthread_mutexattr_t *" attr , .BI " int *" robustness ");" -.BI "int pthread_mutexattr_setrobust(const pthread_mutexattr_t *" attr , +.BI "int pthread_mutexattr_setrobust(pthread_mutexattr_t *" attr , .BI " int " robustness ");" .fi .PP