This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 0441681f5fa085420070fc5c39caa733eaa6a866
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Wed Jun 26 10:13:23 2024 +0200

    kernel/os_sched: Add parameter names
    
    Adds missing parameter names to functions prototypes
---
 kernel/os/include/os/os_sched.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/kernel/os/include/os/os_sched.h b/kernel/os/include/os/os_sched.h
index f1c9073c6..a4c1d86f3 100644
--- a/kernel/os/include/os/os_sched.h
+++ b/kernel/os/include/os/os_sched.h
@@ -43,7 +43,7 @@ extern struct os_task *g_current_task;
 extern struct os_task_list g_os_run_list;
 extern struct os_task_list g_os_sleep_list;
 
-void os_sched_ctx_sw_hook(struct os_task *);
+void os_sched_ctx_sw_hook(struct os_task *next_t);
 
 /** @endcond */
 
@@ -54,7 +54,7 @@ void os_sched_ctx_sw_hook(struct os_task *);
  * @return The currently running task.
  */
 struct os_task *os_sched_get_current_task(void);
-void os_sched_set_current_task(struct os_task *);
+void os_sched_set_current_task(struct os_task *t);
 struct os_task *os_sched_next_task(void);
 
 /**
@@ -111,15 +111,15 @@ int os_sched_resume(void);
  * }
  * @endcode
  */
-void os_sched(struct os_task *);
+void os_sched(struct os_task *next_t);
 
 /** @cond INTERNAL_HIDDEN */
 void os_sched_os_timer_exp(void);
-os_error_t os_sched_insert(struct os_task *);
-int os_sched_sleep(struct os_task *, os_time_t nticks);
-int os_sched_wakeup(struct os_task *);
-int os_sched_remove(struct os_task *);
-void os_sched_resort(struct os_task *);
+os_error_t os_sched_insert(struct os_task *t);
+int os_sched_sleep(struct os_task *t, os_time_t nticks);
+int os_sched_wakeup(struct os_task *t);
+int os_sched_remove(struct os_task *t);
+void os_sched_resort(struct os_task *t);
 os_time_t os_sched_wakeup_ticks(os_time_t now);
 
 /** @endcond */

Reply via email to