aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/time.h
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-10-26 02:19:00 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-10-26 02:19:00 +0000
commit6ff7636ea526e4888fcf5a6962fb28c4891ec50b (patch)
tree0238e91f8ce3e1a2017ecaf9e169ea31c4fc9b81 /sys/sys/time.h
parentdd18558aaa32af7b378f09b26d01884cfee6e272 (diff)
downloadsrc-6ff7636ea526e4888fcf5a6962fb28c4891ec50b.tar.gz
src-6ff7636ea526e4888fcf5a6962fb28c4891ec50b.zip
constify the second args to timevaladd() and timevalsub().
Notes
Notes: svn path=/head/; revision=121523
Diffstat (limited to 'sys/sys/time.h')
-rw-r--r--sys/sys/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h
index b713bb89e873..adee319a7489 100644
--- a/sys/sys/time.h
+++ b/sys/sys/time.h
@@ -297,8 +297,8 @@ int itimerdecr(struct itimerval *itp, int usec);
int itimerfix(struct timeval *tv);
int ppsratecheck(struct timeval *, int *, int);
int ratecheck(struct timeval *, const struct timeval *);
-void timevaladd(struct timeval *t1, struct timeval *t2);
-void timevalsub(struct timeval *t1, struct timeval *t2);
+void timevaladd(struct timeval *t1, const struct timeval *t2);
+void timevalsub(struct timeval *t1, const struct timeval *t2);
int tvtohz(struct timeval *tv);
#else /* !_KERNEL */
#include <time.h>