added C++ header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1655 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
#include <netinet/in.h>
|
||||
#include <ByteOrder.h> /* htonl, htons, ntohl, ntohs */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
in_addr_t inet_addr (const char *);
|
||||
int inet_aton (const char *, struct in_addr *);
|
||||
in_addr_t inet_lnaof (struct in_addr);
|
||||
@@ -25,4 +29,8 @@ const char *inet_ntop (int, const void *, char *, size_t);
|
||||
u_int inet_nsap_addr (const char *, u_char *, int);
|
||||
char *inet_nsap_ntoa (int, const u_char *, char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _INET_H */
|
||||
|
||||
@@ -89,6 +89,10 @@
|
||||
#include <sys/types.h>
|
||||
#include <endian.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* revision information. this is the release date in YYYYMMDD format.
|
||||
* it can change every day so the right thing to do with it is use it
|
||||
@@ -359,4 +363,8 @@ extern uint32 _getlong (const u_char *);
|
||||
(cp) += INT32SZ; \
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !_NAMESER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user