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 09d893657dff3036f47b2f42e6248df9aeaed223
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Thu Jun 27 15:48:17 2024 +0200

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

diff --git a/kernel/os/include/os/os_callout.h 
b/kernel/os/include/os/os_callout.h
index b407f3f44..946dcfba4 100644
--- a/kernel/os/include/os/os_callout.h
+++ b/kernel/os/include/os/os_callout.h
@@ -77,7 +77,7 @@ TAILQ_HEAD(os_callout_list, os_callout);
  * @param ev_arg The argument to provide to the event when posting the
  *               timer.
  */
-void os_callout_init(struct os_callout *cf, struct os_eventq *evq,
+void os_callout_init(struct os_callout *c, struct os_eventq *evq,
                      os_event_fn *ev_cb, void *ev_arg);
 
 
@@ -86,7 +86,7 @@ void os_callout_init(struct os_callout *cf, struct os_eventq 
*evq,
  *
  * @param c The callout to stop
  */
-void os_callout_stop(struct os_callout *);
+void os_callout_stop(struct os_callout *c);
 
 
 /**
@@ -97,7 +97,7 @@ void os_callout_stop(struct os_callout *);
  *
  * @return 0 on success, non-zero on failure
  */
-int os_callout_reset(struct os_callout *, os_time_t);
+int os_callout_reset(struct os_callout *c, os_time_t ticks);
 
 /**
  * Returns the number of ticks which remains to callout.
@@ -107,7 +107,7 @@ int os_callout_reset(struct os_callout *, os_time_t);
  *
  * @return Number of ticks to first pending callout
  */
-os_time_t os_callout_remaining_ticks(struct os_callout *, os_time_t);
+os_time_t os_callout_remaining_ticks(struct os_callout *c, os_time_t now);
 
 /**
  * Returns whether the callout is pending or not.

Reply via email to