mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
Address various MISRA warnings v2 (#238)
* Address some MISRA warnings * Change the return type * Update FreeRTOS_Sockets.c
This commit is contained in:
parent
0341050048
commit
cacf4ad7f9
5 changed files with 20 additions and 14 deletions
|
@ -313,11 +313,16 @@ BaseType_t FreeRTOS_IsNetworkUp( void );
|
|||
* Socket has had activity, reset the timer so it will not be closed
|
||||
* because of inactivity
|
||||
*/
|
||||
const char *FreeRTOS_GetTCPStateName( UBaseType_t ulState);
|
||||
#if( ( ipconfigHAS_DEBUG_PRINTF != 0 ) || ( ipconfigHAS_PRINTF != 0 ) )
|
||||
const char *FreeRTOS_GetTCPStateName( UBaseType_t ulState);
|
||||
#endif
|
||||
|
||||
/* _HT_ Temporary: show all valid ARP entries
|
||||
*/
|
||||
void FreeRTOS_PrintARPCache( void );
|
||||
#if( ipconfigHAS_PRINTF != 0 ) || ( ipconfigHAS_DEBUG_PRINTF != 0 )
|
||||
void FreeRTOS_PrintARPCache( void );
|
||||
#endif
|
||||
|
||||
void FreeRTOS_ClearARP( void );
|
||||
|
||||
/* Return pdTRUE if the IPv4 address is a multicast address. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue