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

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 3032a41bf7768e63e005f837daaa5d21e6b3336f
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Wed Oct 28 20:38:38 2026 +0800

    sched/hrtimer: Sync the hrtimer_gettime() prototype in documentation
    
    Update the hrtimer_gettime() signature in the timer documentation to
    match the const parameter of the interface.
    
    Assisted-by: mimo-v2.6-pro
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 Documentation/os/time/time_clock.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/os/time/time_clock.rst 
b/Documentation/os/time/time_clock.rst
index 7fc5ea4e390..d406da10a20 100644
--- a/Documentation/os/time/time_clock.rst
+++ b/Documentation/os/time/time_clock.rst
@@ -843,7 +843,7 @@ executed.
 
   **POSIX Compatibility:** This is a NON-POSIX interface.
 
-.. c:function:: uint64_t hrtimer_gettime(FAR hrtimer_t *timer)
+.. c:function:: uint64_t hrtimer_gettime(FAR const hrtimer_t *timer)
 
   Get the remaining time until timer expiration.
 

Reply via email to