Message ID | 20210218212358.246072-6-alx.manpages@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces@sourceware.org> 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=<UNKNOWN>) 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=KORk+HHW; 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 4DhSRS1sLpz9sCD for <incoming@patchwork.ozlabs.org>; Fri, 19 Feb 2021 08:25:24 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C0443395042C; Thu, 18 Feb 2021 21:25:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0443395042C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683503; bh=o7qyi/FJvo6QiFXoxq4Rv75oWdZha7mErr8ndoxkVjU=; 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=KORk+HHWSWO377gvXlu9f+hPC1TtCznD9eq6Yji5ap4D9s1Z37ak0tTrUNm7BhxIF boa/xqARdaWBkOMK52mpVRbpNwEMrRKUsqJn/SD2qnEzUbaOhN6mJbFyvWYXAsI618 21BTc1phfJrpun3KT00wuDEod396gd6w+ylCbSPU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 54C423896828 for <libc-alpha@sourceware.org>; Thu, 18 Feb 2021 21:25:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 54C423896828 Received: by mail-wr1-x436.google.com with SMTP id v15so4536838wrx.4 for <libc-alpha@sourceware.org>; Thu, 18 Feb 2021 13:25:01 -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=o7qyi/FJvo6QiFXoxq4Rv75oWdZha7mErr8ndoxkVjU=; b=aeW+Wu+QNJyrvCgBw6qxaFHOz3o7OQcFNfwiWNmRJM46NO+PXzNXLm71BEp9IPfDWT Qvp3deT8t0aOWu7VRVj3KHime7VgrYZV+5+za83+y+YdPwSfx4yd+t+iYVo20SRM9TNX YPGKzKs8kBMICwWJZBa4w8Y+GBdodTLxE+B8QCflQc67Gslo8rHSYXbOOyu4+bryGiz7 a1WjmJnu7pQspaqbzWVYQWfC8ic0kgAJkF8PD1YkkIDR8nUt98CYDbEibsTF0DzVT203 W0e3VYUr29k2Y8x5Vr5uJ7b0SorXoRfJaucgslorrJtB5tLNjd4lgJreh30zKfgSYTHy Eujg== X-Gm-Message-State: AOAM530JvKn/VjEjXOLp0bIgl3ie1HEkFDKyLWlXQCSh7L0+yQkM3fsw CxuEyG2DzOyohll60Iaj7zI= X-Google-Smtp-Source: ABdhPJww0Dqlef/P4D2LIvxN0c1jk0tNA6rBxe+adhqiCpaApU7k4O52QPhcxm94SoxMaVXWPuJAlA== X-Received: by 2002:adf:b350:: with SMTP id k16mr5998920wrd.190.1613683500552; Thu, 18 Feb 2021 13:25:00 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 13:25:00 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 5/6] pthread_exit.3: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:58 +0100 Message-Id: <20210218212358.246072-6-alx.manpages@gmail.com> X-Mailer: git-send-email 2.30.1.721.g45526154a5 In-Reply-To: <20210218212358.246072-1-alx.manpages@gmail.com> References: <20210218212358.246072-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.2 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 <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Alejandro Colomar <alx.manpages@gmail.com>, linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
man[23]: SYNOPSIS: Use 'noreturn' in prototypes.
|
expand
|
diff --git a/man3/pthread_exit.3 b/man3/pthread_exit.3 index 60879f07c..de9f9abcf 100644 --- a/man3/pthread_exit.3 +++ b/man3/pthread_exit.3 @@ -30,7 +30,7 @@ pthread_exit \- terminate calling thread .nf .B #include <pthread.h> .PP -.BI "void pthread_exit(void *" retval ); +.BI "noreturn void pthread_exit(void *" retval ); .PP Compile and link with \fI\-pthread\fP. .fi
POSIX specifies that pthread_exit() shall not return. Glibc uses __attribute__((__noreturn__)). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> --- man3/pthread_exit.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)