Add missing extern "C" enclosures.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1808 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2002-11-01 02:54:42 +00:00
parent 5c3421e490
commit 7d31ea94fb

View File

@ -7,6 +7,10 @@
#include <net/if.h> #include <net/if.h>
#include <endian.h> #include <endian.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef unsigned short in_port_t; typedef unsigned short in_port_t;
typedef unsigned long in_addr_t; typedef unsigned long in_addr_t;
@ -168,4 +172,9 @@ struct sockaddr_in {
uint16 in_cksum(struct mbuf *m, int len, int off); uint16 in_cksum(struct mbuf *m, int len, int off);
#endif /* _KERNEL_MODE */ #endif /* _KERNEL_MODE */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* NETINET_IN_H */ #endif /* NETINET_IN_H */