mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 01:07:47 -04:00
MISRA compliance changes for FreeRTOS+TCP headers (#165)
* misra changes * Update FreeRTOS_IP_Private.h * Update FreeRTOS_IP_Private.h
This commit is contained in:
parent
e903ac0fed
commit
07cf5e07e4
2 changed files with 6 additions and 8 deletions
|
@ -722,9 +722,11 @@ int32_t lTCPAddRxdata(FreeRTOS_Socket_t *pxSocket, size_t uxOffset, const uint8_
|
|||
void vSocketWakeUpUser( FreeRTOS_Socket_t *pxSocket );
|
||||
|
||||
/*
|
||||
* Some helping function, their meaning should be clear
|
||||
* Some helping function, their meaning should be clear.
|
||||
* Going by MISRA rules, these utility functions should not be defined
|
||||
* if they are not being used anywhwere. But their use depends on the
|
||||
* application and hence these functions are defined unconditionally.
|
||||
*/
|
||||
/* coverity[misra_c_2012_rule_2_2_violation] */
|
||||
static portINLINE uint32_t ulChar2u32 (const uint8_t *apChr);
|
||||
static portINLINE uint32_t ulChar2u32 (const uint8_t *apChr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue