From patchwork Fri Aug 16 12:34:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1973238 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=EWqdPRBy; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlhKK5H0hz20Bh for ; Fri, 16 Aug 2024 22:35:17 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8D7C9385E027 for ; Fri, 16 Aug 2024 12:35:15 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id E551E385DDC5 for ; Fri, 16 Aug 2024 12:34:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E551E385DDC5 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E551E385DDC5 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723811699; cv=none; b=xfzzKzOFHSqAmOn7oAvnGSwVVYRWWpoc90u0W8FWP0amflR3R4HNfRDKLxgndd8AnHakdwRIdRUlfdlJUtA5GoC4LKQPzOeodzqt5G4HH0T/70TMluQqcvJ0kc9Ubcqu6SeSY3WSY7mwC6gpbUWDNlyfwsh9bcpw5b09pTkc6xc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723811699; c=relaxed/simple; bh=vToyBUTQhSDWxAkRXyUIQVij5ZRQli0c5uSxWoDsGzc=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=T/93jovz8R+F7p+dKld30me4Jh46BNBt3culwexbruy5LgPHzCNb61unShGLCoPiGKNItJVCkVTJvYNklJV9A3Qm6FLBeOolxW3kxdPp4t/9fTELNpx5g1U9ldxuQuKlxgmeHAx3SvCBxBE4WxArISDgKS+slHCPzwrgglAP2e4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1723811697; 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=D1A1u35HvV8pG/LxKBPoCLukAW22TbP+6cU2vciLe2Q=; b=EWqdPRByQZ9weRqw3YytFG3HwW4FNY00/zGVdvimU13i8KGxkGntjLYL1h7HEkoRkxiNGc Is+g2qUIWOJysl+WwVh3eP5PCBUeodPOPl8bhgsNFKmgi6ktQk4THwUCYEf4oWcfxWz2o6 ZD2b/hS/DUxIoofky9Y0zai6WimttMo= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-272-txwiVfWLOJOBFmBqZbmB0g-1; Fri, 16 Aug 2024 08:34:56 -0400 X-MC-Unique: txwiVfWLOJOBFmBqZbmB0g-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D1FF01955BE7 for ; Fri, 16 Aug 2024 12:34:54 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.19]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0018C19560A3 for ; Fri, 16 Aug 2024 12:34:53 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 1/5] support: Remove #include In-Reply-To: Message-ID: <0f90ca5e02a1ec4293a307ac691771c92f4cff0a.1723811552.git.fweimer@redhat.com> References: X-From-Line: 0f90ca5e02a1ec4293a307ac691771c92f4cff0a Mon Sep 17 00:00:00 2001 Date: Fri, 16 Aug 2024 14:34:51 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.8 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_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org This is not needed: include/intprops.h has its own detection logic. It makes building these files outside of glibc easer. Reviewed-by: Adhemerval Zanella --- support/timespec-add.c | 1 - support/timespec-sub.c | 1 - 2 files changed, 2 deletions(-) diff --git a/support/timespec-add.c b/support/timespec-add.c index 55fd812f31..57b968c316 100644 --- a/support/timespec-add.c +++ b/support/timespec-add.c @@ -20,7 +20,6 @@ /* Return the sum of two timespec values A and B. On overflow, return an extremal value. This assumes 0 <= tv_nsec < TIMESPEC_HZ. */ -#include #include "timespec.h" #include "intprops.h" diff --git a/support/timespec-sub.c b/support/timespec-sub.c index 7d89c1415a..2897343fce 100644 --- a/support/timespec-sub.c +++ b/support/timespec-sub.c @@ -21,7 +21,6 @@ overflow, return an extremal value. This assumes 0 <= tv_nsec < TIMESPEC_HZ. */ -#include #include "timespec.h" #include "intprops.h"