From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id B3BC43858D28 for ; Thu, 5 Jan 2023 17:25:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B3BC43858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672939510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tfvQWWa58c317fgWozOkm1vpnakpwGAfFk0nnVZoPXs=; b=Cppt6y8r7H5bT62LWa8/i3U2sV2xcbxawvNWNhE0wqcFBqFhqiuEpgTrDagQ8d+hfrO49I WE4ogJr0+q8/iCm08lUf03G2GDEekOTypgQ1kitchAEPiwIEjFRMZ9ih8bnFoRaXyZPrF9 OBhmE1kTYq/qRCysOoHnH3oc+/nu2xE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-107-Hq94mQkKMueJsxWCIncCRg-1; Thu, 05 Jan 2023 12:25:09 -0500 X-MC-Unique: Hq94mQkKMueJsxWCIncCRg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AF0233C0D18F for ; Thu, 5 Jan 2023 17:25:08 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.82]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2CAA32026D4B for ; Thu, 5 Jan 2023 17:25:07 +0000 (UTC) From: Florian Weimer To: Florian Weimer via Libc-alpha Subject: Re: [PATCH] : Add deprecation message for sigpause References: <87r0x4ucke.fsf@oldenburg.str.redhat.com> Date: Thu, 05 Jan 2023 18:25:06 +0100 In-Reply-To: <87r0x4ucke.fsf@oldenburg.str.redhat.com> (Florian Weimer via Libc-alpha's message of "Mon, 12 Dec 2022 11:43:45 +0100") Message-ID: <87wn60lwr1.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Florian Weimer via Libc-alpha: > Current compilers merely issue an implicit function declaration warning > without -D_XOPEN_SOURCE_EXTENDED, which is not very illuminating. > > Tested on i686-linux-gnu and x86_64-linux-gnu. > > --- > signal/signal.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/signal/signal.h b/signal/signal.h > index 78d0d819aa..1299d7e0bc 100644 > --- a/signal/signal.h > +++ b/signal/signal.h > @@ -155,6 +155,9 @@ extern int __sigpause (int __sig_or_mask, int __is_sig); > /* Remove a signal from the signal mask and suspend the process. */ > # define sigpause(sig) __sigpause ((sig), 1) > # endif > +#elif defined __USE_MISC > +extern int sigpause (int __sig) > + __attribute_deprecated_msg__ ("Use the sigsuspend function instead"); > #endif Ping? Thanks, Florian