From patchwork Fri Aug 16 18:37:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Sherrill X-Patchwork-Id: 96009 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9D00D3858C66 for ; Fri, 16 Aug 2024 18:38:14 +0000 (GMT) X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by sourceware.org (Postfix) with ESMTPS id 710B93858C66 for ; Fri, 16 Aug 2024 18:37:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 710B93858C66 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 710B93858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.219.179 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723833448; cv=none; b=jRT7s/J2ymihUKc+qeCJguwKJVRBmIggllaRenub2ZysUoB1rYM1wcQCTumH3I9t1fuiYq0X0SE7T+C3YmVEA+j751ZrMJAozZaHbshaUUp4BoVE8IawUcEcpSCBuWIfuO1bttOd+1HeJ7eHCsRThoBqzFqATfqgswYK4R+PETM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723833448; c=relaxed/simple; bh=r3L3AVthPfd2NcR34FQBXhQtdAoNzG1//Nslr1hcChc=; h=From:To:Subject:Date:Message-Id; b=RX285nJVSzSOvHmSNTDN2whgz3fbvqS/MOM0Y7qQoHyqf+Ie4tll8OD33JA/cOWKL2RW8Pl/Ockb0/XR5csYjEOxGvngQ22Sk5wgt31u127FLsHxYnurj+GPy9KWADgoFkltORCeJS8wjEn0eYxBDAFTjxeTBPs7IxVb7o8i/j8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-e1171e57a0dso1496569276.0 for ; Fri, 16 Aug 2024 11:37:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723833446; x=1724438246; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rrBRk/FavYIgze1b5HdI4j7bX/kNOzIQv4aZ1yvTlLI=; b=amBVnloM7fb2hvpW2Fe9RGJ2nFE+H9n1fxpOrUsNv3rG5QA4ZdT72se3zAHoyt+LJH moB+MU/7vGN8Y8GZw65dpGou9jU6nWPIl/nkm0m4WpTcijp1+jI//9euOuij1OyFeNej CFfFCacVzuhwmW9+EqoePQJ5/y1LqSgENeAUq4uvl8fXRHaE1qjazu9Kvkt3gQNivy4Q mLB7U/yvdb78z8S2WhAKmtRkJ0DLUb3yZIzl7AvZS9Z+i7K7oy9MppqUA6aOIStN9J/t R6fE9JcL2Um/lGBvxgZHyZiRAy+UnwhdXJrcplDb7vchc9MH7lb2ed4N99vLP495xSvo ulGA== X-Gm-Message-State: AOJu0Yy/UI51xnnTNovnfr405ock/o/07B/Nba9hmj2gkup5t76TK3nW 9e0VuJVGJQRbMesFny77M9SUTCFWpC29815wlFn4Z8WFn0xMqLJGjMFMJbsD X-Google-Smtp-Source: AGHT+IG6QqBu5h4zRgol3g47i3W2nKkGSrTqHm9gZKvBrDPxqsxwmZKxXU3JoyAZl3SHgPy8ONcy9A== X-Received: by 2002:a05:6902:f0f:b0:e13:c2c7:6a7c with SMTP id 3f1490d57ef6-e13c2c76d8dmr2160746276.5.1723833446549; Fri, 16 Aug 2024 11:37:26 -0700 (PDT) Received: from devel.oarcorp.com (d27-96-189-151.evv.wideopenwest.com. [96.27.151.189]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e1171e42d1csm902905276.25.2024.08.16.11.37.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Aug 2024 11:37:26 -0700 (PDT) From: Joel Sherrill To: newlib@sourceware.org Cc: Joel Sherrill Subject: [PATCH v2 2/2] newlib/libc/include/sys/tree.h: Add deprecation warning Date: Fri, 16 Aug 2024 13:37:18 -0500 Message-Id: <1723833438-29626-2-git-send-email-joel@rtems.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1723833438-29626-1-git-send-email-joel@rtems.org> References: <1723833438-29626-1-git-send-email-joel@rtems.org> X-Spam-Status: No, score=-3038.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, 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: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org --- newlib/libc/include/sys/tree.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/newlib/libc/include/sys/tree.h b/newlib/libc/include/sys/tree.h index 2d3cec0..7f12d6b 100644 --- a/newlib/libc/include/sys/tree.h +++ b/newlib/libc/include/sys/tree.h @@ -32,6 +32,10 @@ #ifndef _SYS_TREE_H_ #define _SYS_TREE_H_ +#ifndef __PERMIT_DEPRECATED_SYS_TREE_H +#warning "sys/tree.h is deprecated and will be removed in the future." +#endif + #include /*