Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/external/bsd/drm2/include/asm Pull up following revis...



details:   https://anonhg.NetBSD.org/src/rev/245294877133
branches:  netbsd-7
changeset: 799799:245294877133
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Feb 11 23:31:06 2016 +0000

description:
Pull up following revision(s) (requested by riastradh in ticket #1113):
        sys/external/bsd/drm2/include/asm/unaligned.h: revision 1.4
Don't return void.
Caught by pcc.  Thanks, pcc!

diffstat:

 sys/external/bsd/drm2/include/asm/unaligned.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7eab941f4f04 -r 245294877133 sys/external/bsd/drm2/include/asm/unaligned.h
--- a/sys/external/bsd/drm2/include/asm/unaligned.h     Thu Feb 11 23:29:28 2016 +0000
+++ b/sys/external/bsd/drm2/include/asm/unaligned.h     Thu Feb 11 23:31:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unaligned.h,v 1.1.4.1 2015/03/06 21:39:10 snj Exp $    */
+/*     $NetBSD: unaligned.h,v 1.1.4.2 2016/02/11 23:31:06 snj Exp $    */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
 put_unaligned_le16(uint16_t v, void *p)
 {
 
-       return le16enc(p, v);
+       le16enc(p, v);
 }
 
 static inline uint32_t
@@ -59,7 +59,7 @@
 put_unaligned_le32(uint32_t v, void *p)
 {
 
-       return le32enc(p, v);
+       le32enc(p, v);
 }
 
 #endif  /* _ASM_UNALIGNED_H_ */



Home | Main Index | Thread Index | Old Index