From 294a6d246b6a1f7cba8ce1bc4eeb9ae11f17a003 Mon Sep 17 00:00:00 2001 From: tel5021 <614371500@qq.com> Date: Thu, 29 Apr 2021 16:03:21 +0800 Subject: [PATCH] fix: modify type INLNIE --- kal/posix/src/mqueue_impl.h | 2 +- kal/posix/src/pthread_cond.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kal/posix/src/mqueue_impl.h b/kal/posix/src/mqueue_impl.h index 3f824fde..d0131a38 100644 --- a/kal/posix/src/mqueue_impl.h +++ b/kal/posix/src/mqueue_impl.h @@ -106,7 +106,7 @@ #define GET_QUEUE_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosQueueCB, readWriteList[OS_QUEUE_WRITE]) #define STATIC static -#define INLNIE inline +#define INLINE inline typedef union send_receive_t { unsigned oth : 3; diff --git a/kal/posix/src/pthread_cond.c b/kal/posix/src/pthread_cond.c index 9c89a682..9f8cec9a 100644 --- a/kal/posix/src/pthread_cond.c +++ b/kal/posix/src/pthread_cond.c @@ -47,7 +47,7 @@ typedef struct { UINT32 clearEvent; } EventCond; -#define INLNIE inline +#define INLINE inline #define BROADCAST_EVENT 1 #define COND_COUNTER_STEP 0x0004U