Module Name:    src
Committed By:   rillig
Date:           Tue Feb 23 16:47:04 UTC 2021

Modified Files:
        src/share/man/man3: timeradd.3

Log Message:
timeradd.3: declare timespeccmp parameters as const

Comparison is implemented as a read-only operation.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man3/timeradd.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man3/timeradd.3
diff -u src/share/man/man3/timeradd.3:1.9 src/share/man/man3/timeradd.3:1.10
--- src/share/man/man3/timeradd.3:1.9	Tue Feb 23 09:28:00 2021
+++ src/share/man/man3/timeradd.3	Tue Feb 23 16:47:04 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: timeradd.3,v 1.9 2021/02/23 09:28:00 wiz Exp $
+.\" $NetBSD: timeradd.3,v 1.10 2021/02/23 16:47:04 rillig Exp $
 .\"
 .\" Copyright (c) 2009 Jukka Ruohonen <jruoho...@iki.fi>
 .\" Copyright (c) 1999 Kelly Yancey <kby...@posi.net>
@@ -59,7 +59,7 @@
 .Ft int
 .Fn timespecisset "struct timespec *ts"
 .Ft int
-.Fn timespeccmp "struct timespec *a" "struct timespec *b" CMP
+.Fn timespeccmp "const struct timespec *a" "const struct timespec *b" CMP
 .Sh DESCRIPTION
 These macros are provided for manipulating the
 .Fa timeval

Reply via email to