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/asm Don't return void.
details: https://anonhg.NetBSD.org/src/rev/9bc35faf68f3
branches: trunk
changeset: 343469:9bc35faf68f3
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 06 00:31:58 2016 +0000
description:
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 fee73b6f539c -r 9bc35faf68f3 sys/external/bsd/drm2/include/asm/unaligned.h
--- a/sys/external/bsd/drm2/include/asm/unaligned.h Fri Feb 05 23:49:26 2016 +0000
+++ b/sys/external/bsd/drm2/include/asm/unaligned.h Sat Feb 06 00:31:58 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unaligned.h,v 1.3 2015/02/25 15:01:03 riastradh Exp $ */
+/* $NetBSD: unaligned.h,v 1.4 2016/02/06 00:31:58 riastradh 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