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:
Sylvain Munaut 2014-06-16 16:39:08 +02:00
parent 3baa0d6ab5
commit 5469ef837a
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}