quality: include the essential only to avoid recursion

The rtdef.h is a big header with multiple dependency inside,
which makes it easier to introduce recursion dependency.

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell 2024-07-23 02:18:50 +00:00 committed by GitHub
parent 79457efc49
commit 08b8dfb225
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@
#else /* !__ASSEMBLY__ */ #else /* !__ASSEMBLY__ */
#include <rtdef.h> #include <rttypes.h>
typedef struct { rt_uint64_t value[2]; } rt_uint128_t; typedef struct { rt_uint64_t value[2]; } rt_uint128_t;

View File

@ -15,7 +15,7 @@
#include <armv8.h> #include <armv8.h>
#include <rtcompiler.h> #include <rtcompiler.h>
#include <rtdef.h> #include <rttypes.h>
#ifdef RT_USING_SMP #ifdef RT_USING_SMP