diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2014-06-16 16:39:08 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2014-06-16 16:39:08 +0200 |
commit | 5469ef837a9902d594d008257d627b6c09b0d970 (patch) | |
tree | 7e0cc8eae5b4451b8404678886a83d36a2225330 /include | |
parent | 3baa0d6ab5b56b80725b69e03701af3af1680b2c (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/core/bitXXgen.h.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/bitXXgen.h.tpl b/include/osmocom/core/bitXXgen.h.tpl index 5fa2bb71..9e5a1971 100644 --- a/include/osmocom/core/bitXXgen.h.tpl +++ b/include/osmocom/core/bitXXgen.h.tpl @@ -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); } |