[ntpsec commit] Nuke still another stray bit of ISC_PLATFORM_HAVESYSUNH code.

Eric S. Raymond esr at ntpsec.org
Fri Oct 2 13:49:17 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    b0bbeb7a4686e2850b5b335dc76f9fc2e9b0f96f
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=b0bbeb7a4686e2850b5b335dc76f9fc2e9b0f96f

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Fri Oct  2 09:48:27 2015 -0400

Nuke still another stray bit of ISC_PLATFORM_HAVESYSUNH code.

---

 lib/isc/include/isc/netaddr.h  | 8 --------
 lib/isc/include/isc/sockaddr.h | 6 ------
 2 files changed, 14 deletions(-)

diff --git a/lib/isc/include/isc/netaddr.h b/lib/isc/include/isc/netaddr.h
index 54284c5..be8a49c 100644
--- a/lib/isc/include/isc/netaddr.h
+++ b/lib/isc/include/isc/netaddr.h
@@ -25,11 +25,6 @@
 #include <isc/net.h>
 #include <isc/types.h>
 
-#ifdef ISC_PLATFORM_HAVESYSUNH
-#include <sys/types.h>
-#include <sys/un.h>
-#endif
-
 ISC_LANG_BEGINDECLS
 
 struct isc_netaddr {
@@ -37,9 +32,6 @@ struct isc_netaddr {
 	union {
 		struct in_addr in;
 		struct in6_addr in6;
-#ifdef ISC_PLATFORM_HAVESYSUNH
-		char un[sizeof(((struct sockaddr_un *)0)->sun_path)];
-#endif
 	} type;
 	isc_uint32_t zone;
 };
diff --git a/lib/isc/include/isc/sockaddr.h b/lib/isc/include/isc/sockaddr.h
index 392b24f..c901c07 100644
--- a/lib/isc/include/isc/sockaddr.h
+++ b/lib/isc/include/isc/sockaddr.h
@@ -23,18 +23,12 @@
 #include <isc/lang.h>
 #include <isc/net.h>
 #include <isc/types.h>
-#ifdef ISC_PLATFORM_HAVESYSUNH
-#include <sys/un.h>
-#endif
 
 struct isc_sockaddr {
 	union {
 		struct sockaddr		sa;
 		struct sockaddr_in	sin;
 		struct sockaddr_in6	sin6;
-#ifdef ISC_PLATFORM_HAVESYSUNH
-		struct sockaddr_un	sunix;
-#endif
 	}				type;
 	unsigned int			length;		/* XXXRTH beginning? */
 	ISC_LINK(struct isc_sockaddr)	link;



More information about the vc mailing list