From b7febf4e194d44378f9c68643084739ba16b8203 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 3 Jan 2023 06:01:52 +0800 Subject: [PATCH] libc: Move tree.h from include/nuttx to include/sys to match freebsd layout Signed-off-by: Xiang Xiao --- LICENSE | 2 +- include/{nuttx => sys}/tree.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename include/{nuttx => sys}/tree.h (99%) diff --git a/LICENSE b/LICENSE index c7ef4dbe6a2..17cffb869ff 100644 --- a/LICENSE +++ b/LICENSE @@ -1037,7 +1037,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -include/nuttx/tree.h +include/sys/tree.h ==================== Copyright 2002 Niels Provos diff --git a/include/nuttx/tree.h b/include/sys/tree.h similarity index 99% rename from include/nuttx/tree.h rename to include/sys/tree.h index 44bb2e0a166..5cf0bac4a75 100644 --- a/include/nuttx/tree.h +++ b/include/sys/tree.h @@ -1,5 +1,5 @@ /**************************************************************************** - * include/nuttx/tree.h + * include/sys/tree.h * * Copyright 2002 Niels Provos * All rights reserved. @@ -56,8 +56,8 @@ * Included Files ****************************************************************************/ -#ifndef __INCLUDE_NUTTX_TREE_H -#define __INCLUDE_NUTTX_TREE_H +#ifndef __INCLUDE_SYS_TREE_H +#define __INCLUDE_SYS_TREE_H /**************************************************************************** * Pre-processor Definitions @@ -1055,4 +1055,4 @@ while (0) ((x) != NULL) && ((y) = name##_RB_PREV(x), 1); \ (x) = (y)) -#endif /* __INCLUDE_NUTTX_TREE_H */ +#endif /* __INCLUDE_SYS_TREE_H */