From ef3b32b25e72732583ac94b18baab2359c56864f Mon Sep 17 00:00:00 2001 From: riastradh Date: Sat, 6 Feb 2016 00:31:58 +0000 Subject: [PATCH] Don't return void. Caught by pcc. Thanks, pcc! --- sys/external/bsd/drm2/include/asm/unaligned.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/external/bsd/drm2/include/asm/unaligned.h b/sys/external/bsd/drm2/include/asm/unaligned.h index 6059103c2d5b..53c91bdacab8 100644 --- a/sys/external/bsd/drm2/include/asm/unaligned.h +++ b/sys/external/bsd/drm2/include/asm/unaligned.h @@ -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 @@ static inline void put_unaligned_le16(uint16_t v, void *p) { - return le16enc(p, v); + le16enc(p, v); } static inline uint32_t @@ -59,7 +59,7 @@ static inline void put_unaligned_le32(uint32_t v, void *p) { - return le32enc(p, v); + le32enc(p, v); } #endif /* _ASM_UNALIGNED_H_ */