Make all of these an empty arg template.

 uint32_t htonl()(uint32_t x) { return __swap32(x); }

Would make it work almost like a macro in C and no need to compile this file.