mirror of https://gerrit.osmocom.org/libosmocore
core/bitXXgen: Don't do 'return' in functions returning void
ISO C forbids 'return' with expression, in function returning void Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
3baa0d6ab5
commit
5469ef837a
|
@ -95,11 +95,11 @@ static inline uintXX_t osmo_loadXXbe(const void *p)
|
|||
/*! \brief store unaligned XX-bit integer (little-endian encoding) */
|
||||
static inline void osmo_storeXXle(uintXX_t x, void *p)
|
||||
{
|
||||
return osmo_storeXXle_ext(x, p, XX / 8);
|
||||
osmo_storeXXle_ext(x, p, XX / 8);
|
||||
}
|
||||
|
||||
/*! \brief store unaligned XX-bit integer (big-endian encoding) */
|
||||
static inline void osmo_storeXXbe(uintXX_t x, void *p)
|
||||
{
|
||||
return osmo_storeXXbe_ext(x, p, XX / 8);
|
||||
osmo_storeXXbe_ext(x, p, XX / 8);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue