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/b2d00d9809c2
branches:  trunk
changeset: 834944:b2d00d9809c2
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 74b06c4571d3 -r b2d00d9809c2 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