machine/endian.h: Mark bswap functions always inlineable.
authorzrj <rimvydas.jasinskas@gmail.com>
Tue, 11 Oct 2016 09:49:46 +0000 (12:49 +0300)
committerzrj <zrj@dragonflybsd.org>
Mon, 24 Oct 2016 11:55:18 +0000 (14:55 +0300)
commitc1a702737a6ddb5bc4882e9bb185de0040155dd0
tree553a41894c5d2288ad63fb187c26d75426c48141
parent522fafa8d0d79642ef9dd1e4686b3694f9498d73
machine/endian.h: Mark bswap functions always inlineable.

This solves many cases where compiler decides to make them as a local
static functions to prevent code size growth and causing -Winline.
Also then it leads to less optimal code generation.
To prevent all of this just mark them as always inlineable.
These functions are intended to be inlined and should be thought as macros.
sys/cpu/x86_64/include/endian.h