From patchwork Mon Aug 19 21:29:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Sherrill X-Patchwork-Id: 96108 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 D6A33384A44A for ; Mon, 19 Aug 2024 21:29:39 +0000 (GMT) X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) by sourceware.org (Postfix) with ESMTPS id 6C60D384A444 for ; Mon, 19 Aug 2024 21:29:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C60D384A444 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 6C60D384A444 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.219.180 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724102947; cv=none; b=qicQrcYQQCVB3ZgOd/OtObs3Xsfx6o3Fx8rMxOyOlhCPm3AO7yFo25q2Wdz3DAoYOYGwHOgXieyr7wIWBmgFdRJirju17zy3QBwu+OqEphXZH0DlZc0fdF0YRDOf3qJzmMAdQhmMQogCOpHkqMAUN6T7eNiv1N5XyMCtvtgTWe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724102947; c=relaxed/simple; bh=6zPO7Bh+BWMldAJ+DhEz3xBU+M1SeF+0uvN5d1vC1ck=; h=From:To:Subject:Date:Message-Id; b=aKdjLXnbP1isb9KcRfWUt2kbB/DW0dg7PPLGMSCm3HKErowAgW50v5zSlAiQtPZDz69MEZzcRZ8OkeWz/xcS0XRk0ZiuH5Z3Tyk+pbkCjyhTLXlLofbnTHT7KFVcKDxxdLUXvl6xtSt1sV5h+haqg0qAbBDUdgYktdASGcvtqfM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-e11693fbebaso5454020276.3 for ; Mon, 19 Aug 2024 14:29:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724102944; x=1724707744; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w9oAH3eXd4vlEKwbIckBk5VllPMuBXHZ5e133EqGcVM=; b=tH7ikaeCXR8ZE08lLTu475ZPTfpm6mlfLzZAqtUzm4SGcuVpyFzCWhukL8W7zdavZ7 7vSIKAPr4beCEr4vXimRkzhHcxZeaqJ6yIhTsq4liaKUetfAuNnnbxsyJPnQjzEMKSfe AGUqK0mwFVtmFcBcptmPllke2MF126wBSHgtjMsuMECoWNYAeCEUuB8sJsyRzKQnS6hJ 921hjuY9lbeB9xw2oAqNd7HsFxxCdESWCWgo0Ep+Fvnk52BH/Tf9tHxuRZI9AaIUlQIO XTltClsRFOvdXkwQNT1eDjTNhBE5SIc8IXARGHldKEYXP0wRoHWcvjl+jLLdU/31wnNI 3rWA== X-Gm-Message-State: AOJu0YzrIUCWQUAgm/ejZr8mQyuk5vBN8LNYsk1bcccq1bCLQYOYandj fYrZ3/29R2DAtSV6NwT/nEIqaiHNM29mFqhlRhjEumsPl0sRsCOqSctz3XuS X-Google-Smtp-Source: AGHT+IE9l8TCmbihl47BdoAaSd/5CYLPUMgtxCauEK2km21Ol5uegwPC7F29/fZCxYZWIKB6u2AUbg== X-Received: by 2002:a05:690c:4c8e:b0:6b2:6cd4:7fa5 with SMTP id 00721157ae682-6b26cd4802amr132252587b3.32.1724102944530; Mon, 19 Aug 2024 14:29:04 -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 00721157ae682-6af9e0e1fcdsm17036847b3.131.2024.08.19.14.29.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Aug 2024 14:29:04 -0700 (PDT) From: Joel Sherrill To: newlib@sourceware.org Cc: Joel Sherrill Subject: [PATCH v1] rtems/../sys/dirent.h: Enable DT_ symbols for POSIX >= 202405L Date: Mon, 19 Aug 2024 16:29:01 -0500 Message-Id: <1724102941-8977-1-git-send-email-joel@rtems.org> X-Mailer: git-send-email 1.8.3.1 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 Issue 8 added these symbols which which previously BSD extensions. --- newlib/libc/sys/rtems/include/sys/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/sys/rtems/include/sys/dirent.h b/newlib/libc/sys/rtems/include/sys/dirent.h index 6f8ff42..3e41635 100644 --- a/newlib/libc/sys/rtems/include/sys/dirent.h +++ b/newlib/libc/sys/rtems/include/sys/dirent.h @@ -99,7 +99,7 @@ struct dirent { #define __dirfd(dp) ((dp)->dd_fd) -#if __BSD_VISIBLE +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 202405 /* * File types