Skip to content

Commit

Permalink
issue #308, Resolve cpp warning in os dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
anh authored and skliper committed Dec 30, 2019
1 parent 40c574f commit ca742b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/os/portable/os-impl-posix-dl.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
*/
typedef struct
{
/* cppcheck-suppress unusedStructMember */
void *dl_handle;
} OS_impl_module_internal_record_t;

Expand Down
2 changes: 1 addition & 1 deletion src/os/posix/os-posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);



2 changes: 1 addition & 1 deletion src/os/posix/osapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down
1 change: 1 addition & 0 deletions src/os/rtems/osloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
*/
typedef struct
{
/* cppcheck-suppress unusedStructMember */
void *dl_handle;
} OS_impl_module_internal_record_t;

Expand Down

0 comments on commit ca742b0

Please sign in to comment.