Skip to content
Commit 970820e9 authored by Maksim Masalski's avatar Maksim Masalski Committed by Anas Nashif
Browse files

sched: create unique function name



In file include/kernel/thread.h in "struct _thread_base" is a member
called "_wait_q_t *pended_on"
At the same time in file kernel/sched.c is function called
"static _wait_q_t *pended_on()"

Coding scanning tool assigns violation (MISRA R5.9) that static
object reused, because thread.h is included in struct.c file.

I think we can rename function to avoid misreading in the future.

Signed-off-by: default avatarMaksim Masalski <maksim.masalski@intel.com>
parent f18b728a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment