diff --git a/src/os/portable/os-impl-posix-dl.c b/src/os/portable/os-impl-posix-dl.c index 23aba192a..c03b0fe8a 100644 --- a/src/os/portable/os-impl-posix-dl.c +++ b/src/os/portable/os-impl-posix-dl.c @@ -51,6 +51,7 @@ */ typedef struct { + /* cppcheck-suppress unusedStructMember */ void *dl_handle; } OS_impl_module_internal_record_t; diff --git a/src/os/posix/os-posix.h b/src/os/posix/os-posix.h index 0fbeed7a2..2321621ca 100644 --- a/src/os/posix/os-posix.h +++ b/src/os/posix/os-posix.h @@ -107,7 +107,7 @@ int32 OS_Posix_StreamAPI_Impl_Init(void); int32 OS_Posix_DirAPI_Impl_Init(void); int32 OS_Posix_FileSysAPI_Impl_Init(void); -int32 OS_Posix_InternalTaskCreate_Impl (pthread_t *thr, uint32 priority, size_t stacksz, PthreadFuncPtr_t Entry, void *entry_arg); +int32 OS_Posix_InternalTaskCreate_Impl (pthread_t *pthr, uint32 priority, size_t stacksz, PthreadFuncPtr_t entry, void *entry_arg); diff --git a/src/os/posix/osapi.c b/src/os/posix/osapi.c index c41cda190..a6faafb9a 100644 --- a/src/os/posix/osapi.c +++ b/src/os/posix/osapi.c @@ -160,7 +160,7 @@ const OS_ErrorTable_Entry_t OS_IMPL_ERROR_NAME_TABLE[] = { { 0, NULL } }; /* * Local Function Prototypes */ -static void OS_CompAbsDelayTime( uint32 milli_second , struct timespec * tm); +static void OS_CompAbsDelayTime( uint32 msecs , struct timespec * tm); static int OS_PriorityRemap(uint32 InputPri); diff --git a/src/os/rtems/osloader.c b/src/os/rtems/osloader.c index 887a8c12d..98a514b62 100644 --- a/src/os/rtems/osloader.c +++ b/src/os/rtems/osloader.c @@ -40,6 +40,7 @@ */ typedef struct { + /* cppcheck-suppress unusedStructMember */ void *dl_handle; } OS_impl_module_internal_record_t;