mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Resolved VF errors
- VeriFast does not support nested union definitions. Removed those temporarily. - VeriFast does not support duplicate function prototypes. Prevented include of unguarded system header file.
This commit is contained in:
parent
47e6fa7398
commit
32480e74c4
3 changed files with 256 additions and 328 deletions
|
|
@ -1274,6 +1274,10 @@ typedef struct xSTATIC_TCB
|
|||
* users will recognise that it would be unwise to make direct use of the
|
||||
* structure members.
|
||||
*/
|
||||
#ifndef VERIFAST
|
||||
/* Reason for rewrite:
|
||||
* VeriFast does not support nested union definitions.
|
||||
*/
|
||||
typedef struct xSTATIC_QUEUE
|
||||
{
|
||||
void * pvDummy1[ 3 ];
|
||||
|
|
@ -1302,6 +1306,7 @@ typedef struct xSTATIC_QUEUE
|
|||
#endif
|
||||
} StaticQueue_t;
|
||||
typedef StaticQueue_t StaticSemaphore_t;
|
||||
#endif /* VERIFAST */
|
||||
|
||||
/*
|
||||
* In line with software engineering best practice, especially when supplying a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue