mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-10 13:45:07 -05:00
MISRA Rule 13.3 Fixes
This commit is contained in:
parent
ba1e2dad3c
commit
4b63ff8f28
3 changed files with 13 additions and 14 deletions
|
|
@ -326,7 +326,7 @@ typedef struct xLIST
|
|||
} \
|
||||
\
|
||||
( pxItemToRemove )->pxContainer = NULL; \
|
||||
( pxList->uxNumberOfItems )--; \
|
||||
pxList->uxNumberOfItems -= 1U; \
|
||||
} while( 0 )
|
||||
|
||||
/*
|
||||
|
|
@ -373,7 +373,7 @@ typedef struct xLIST
|
|||
/* Remember which list the item is in. */ \
|
||||
( pxNewListItem )->pxContainer = ( pxList ); \
|
||||
\
|
||||
( ( pxList )->uxNumberOfItems )++; \
|
||||
( pxList )->uxNumberOfItems += 1U; \
|
||||
} while( 0 )
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue