diff options
Diffstat (limited to 'src/network/htonl.c')
-rw-r--r-- | src/network/htonl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/htonl.c b/src/network/htonl.c index 6622d16c..24f2e2a5 100644 --- a/src/network/htonl.c +++ b/src/network/htonl.c @@ -6,3 +6,11 @@ uint32_t htonl(uint32_t n) union { int i; char c; } u = { 1 }; return u.c ? bswap_32(n) : n; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |