Fix compilation warnings with Clang (#721)

Fix compilation warnings with Clang

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2023-07-25 20:00:41 +05:30 committed by GitHub
parent a33ba8e646
commit cfd4c73b5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 7 deletions

View file

@ -37,6 +37,7 @@
/* *INDENT-ON* */
#include <limits.h>
#include <stdint.h>
/*-----------------------------------------------------------
* Port specific definitions.
@ -126,7 +127,7 @@ extern void vPortCancelThread( void *pxTaskToDelete );
*/
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )
extern unsigned long ulPortGetRunTime( void );
extern uint32_t ulPortGetRunTime( void );
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() /* no-op */
#define portGET_RUN_TIME_COUNTER_VALUE() ulPortGetRunTime()