Module Name:    src
Committed By:   riastradh
Date:           Sat Feb  6 00:31:58 UTC 2016

Modified Files:
        src/sys/external/bsd/drm2/include/asm: unaligned.h

Log Message:
Don't return void.

Caught by pcc.  Thanks, pcc!


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/include/asm/unaligned.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/asm/unaligned.h
diff -u src/sys/external/bsd/drm2/include/asm/unaligned.h:1.3 src/sys/external/bsd/drm2/include/asm/unaligned.h:1.4
--- src/sys/external/bsd/drm2/include/asm/unaligned.h:1.3	Wed Feb 25 15:01:03 2015
+++ src/sys/external/bsd/drm2/include/asm/unaligned.h	Sat Feb  6 00:31:58 2016
@@ -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_ */

Reply via email to