libc: Move tree.h from include/nuttx to include/sys

to match freebsd layout

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-03 06:01:52 +08:00 committed by Petro Karashchenko
parent 1510dbee68
commit b7febf4e19
2 changed files with 5 additions and 5 deletions

View File

@ -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 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
include/nuttx/tree.h include/sys/tree.h
==================== ====================
Copyright 2002 Niels Provos <provos@citi.umich.edu> Copyright 2002 Niels Provos <provos@citi.umich.edu>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* include/nuttx/tree.h * include/sys/tree.h
* *
* Copyright 2002 Niels Provos <provos@citi.umich.edu> * Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved. * All rights reserved.
@ -56,8 +56,8 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#ifndef __INCLUDE_NUTTX_TREE_H #ifndef __INCLUDE_SYS_TREE_H
#define __INCLUDE_NUTTX_TREE_H #define __INCLUDE_SYS_TREE_H
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -1055,4 +1055,4 @@ while (0)
((x) != NULL) && ((y) = name##_RB_PREV(x), 1); \ ((x) != NULL) && ((y) = name##_RB_PREV(x), 1); \
(x) = (y)) (x) = (y))
#endif /* __INCLUDE_NUTTX_TREE_H */ #endif /* __INCLUDE_SYS_TREE_H */