Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux Const parameter.
details: https://anonhg.NetBSD.org/src/rev/afd95ee6ce7d
branches: trunk
changeset: 365863:afd95ee6ce7d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:02:16 2018 +0000
description:
Const parameter.
diffstat:
sys/external/bsd/drm2/include/linux/time.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5a87edd82ee1 -r afd95ee6ce7d sys/external/bsd/drm2/include/linux/time.h
--- a/sys/external/bsd/drm2/include/linux/time.h Mon Aug 27 07:02:06 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/time.h Mon Aug 27 07:02:16 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: time.h,v 1.4 2018/08/27 06:16:50 riastradh Exp $ */
+/* $NetBSD: time.h,v 1.5 2018/08/27 07:02:16 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -106,7 +106,7 @@
}
static inline int64_t
-timeval_to_ns(struct timeval *tv)
+timeval_to_ns(const struct timeval *tv)
{
return (((int64_t)tv->tv_sec * 1000000000UL) + (tv->tv_usec * 1000ul));
}
Home |
Main Index |
Thread Index |
Old Index