From 33e22a2836117f1a1098b821875b35c004a717bf Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 29 Jun 2013 20:39:39 +0200 Subject: Add [nh]to[hn][ls] prototypes * device/net_io.h (ntohl, htonl, ntohs, htons): Add prototypes. --- device/net_io.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device/net_io.h b/device/net_io.h index 073bdca..5b3a55c 100644 --- a/device/net_io.h +++ b/device/net_io.h @@ -83,4 +83,9 @@ extern void net_kmsg_collect (void); #define net_kmsg_alloc() ((ipc_kmsg_t) kalloc(net_kmsg_size)) #define net_kmsg_free(kmsg) kfree((vm_offset_t) (kmsg), net_kmsg_size) +extern unsigned int ntohl(unsigned int); +extern unsigned short int ntohs(unsigned short int); +extern unsigned int htonl(unsigned int); +extern unsigned short int htons(unsigned short int); + #endif /* _DEVICE_NET_IO_H_ */ -- cgit v1.2.3