You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/01/03 08:35:02 UTC

[nuttx] branch master updated: libc: Move tree.h from include/nuttx to include/sys

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new b7febf4e19 libc: Move tree.h from include/nuttx to include/sys
b7febf4e19 is described below

commit b7febf4e194d44378f9c68643084739ba16b8203
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Jan 3 06:01:52 2023 +0800

    libc: Move tree.h from include/nuttx to include/sys
    
    to match freebsd layout
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 LICENSE                       | 2 +-
 include/{nuttx => sys}/tree.h | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/LICENSE b/LICENSE
index c7ef4dbe6a..17cffb869f 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 <pr...@citi.umich.edu>
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 44bb2e0a16..5cf0bac4a7 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 <pr...@citi.umich.edu>
  * 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 */