aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorArmelle Laine <armellel@google.com>2022-12-03 21:17:21 +0000
committerArmelle Laine <armellel@google.com>2022-12-06 20:03:51 +0000
commit24fbb2a00ce98623b2a4ecb5998e69ed428099a6 (patch)
treeb827b081ecd5f3f6456075ff13714ef9da183ef5 /kernel
parentddf5d9d5fe372c2d2cec9e5f1ef27fc10d18f17f (diff)
downloadcommon-24fbb2a00ce98623b2a4ecb5998e69ed428099a6.tar.gz
kernel: thread: thread_resched() consistently declared as static
Bug: 253016323 Change-Id: I63346f72c0af111a8bf5944e7fecb2509de411b5
Diffstat (limited to 'kernel')
-rw-r--r--kernel/thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/thread.c b/kernel/thread.c
index 99016b34..550204d3 100644
--- a/kernel/thread.c
+++ b/kernel/thread.c
@@ -743,8 +743,7 @@ static void thread_cond_mp_reschedule(thread_t *current_thread, const char *call
* This is probably not the function you're looking for. See
* thread_yield() instead.
*/
-void thread_resched(void)
-{
+static void thread_resched(void) {
thread_t *oldthread;
thread_t *newthread;