Don't return void.
Caught by pcc. Thanks, pcc!
This commit is contained in:
parent
ae6fa52c2a
commit
ef3b32b25e
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user