-
- Downloads
bsd: refine __ntohl() and friends as inline functions
inline functions can be overloaded and are less nasty than macros in other
ways (like evaluating their arguments only once).
Note we can't touch ntohl() itself, since it is defined to be an out-of-line
function by libc.
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
Loading
Please register or sign in to comment