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 e7565f4504b39fd700f2212f515014e199d42d29
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Mon Jul 1 11:20:31 2024 +0200

    kernel/os_sanity: Add parameter names
    
    Adds missing parameter names to function declarations
---
 kernel/os/include/os/os_sanity.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/kernel/os/include/os/os_sanity.h b/kernel/os/include/os/os_sanity.h
index 1dd248564..928ea0127 100644
--- a/kernel/os/include/os/os_sanity.h
+++ b/kernel/os/include/os/os_sanity.h
@@ -38,7 +38,7 @@ extern "C" {
 #endif
 
 struct os_sanity_check;
-typedef int (*os_sanity_check_func_t)(struct os_sanity_check *, void *);
+typedef int (*os_sanity_check_func_t)(struct os_sanity_check *osc, void *arg);
 
 struct os_sanity_check {
     /** Time this check last ran successfully. */
@@ -73,7 +73,7 @@ struct os_task;
  *
  * @return 0 on success, error code on failure
  */
-int os_sanity_task_checkin(struct os_task *);
+int os_sanity_task_checkin(struct os_task *t);
 
 /**
  * Initialize a sanity check
@@ -82,7 +82,7 @@ int os_sanity_task_checkin(struct os_task *);
  *
  * @return 0 on success, error code on failure.
  */
-int os_sanity_check_init(struct os_sanity_check *);
+int os_sanity_check_init(struct os_sanity_check *sc);
 
 /**
  * Register a sanity check
@@ -91,7 +91,7 @@ int os_sanity_check_init(struct os_sanity_check *);
  *
  * @return 0 on success, error code on failure
  */
-int os_sanity_check_register(struct os_sanity_check *);
+int os_sanity_check_register(struct os_sanity_check *sc);
 
 /**
  * Reset the os sanity check, so that it doesn't trip up the
@@ -101,7 +101,7 @@ int os_sanity_check_register(struct os_sanity_check *);
  *
  * @return 0 on success, error code on failure
  */
-int os_sanity_check_reset(struct os_sanity_check *);
+int os_sanity_check_reset(struct os_sanity_check *sc);
 
 #ifdef __cplusplus
 }

Reply via email to