[ntpsec commit] Move some dependent symbols to the USE_ namespace.

Eric S. Raymond esr at ntpsec.org
Sat Oct 3 15:10:32 UTC 2015


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

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Sat Oct  3 10:59:07 2015 -0400

Move some dependent symbols to the USE_ namespace.

---

 lib/isc/unix/ifiter_ioctl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/isc/unix/ifiter_ioctl.c b/lib/isc/unix/ifiter_ioctl.c
index 83b0f65..7f221c9 100644
--- a/lib/isc/unix/ifiter_ioctl.c
+++ b/lib/isc/unix/ifiter_ioctl.c
@@ -28,8 +28,8 @@
 #define lifc_req iflc_req
 #define LIFCONF if_laddrconf
 #else
-#define ISC_HAVE_LIFC_FAMILY 1
-#define ISC_HAVE_LIFC_FLAGS 1
+#define USE_LIFC_FAMILY 1
+#define USE_LIFC_FLAGS 1
 #define LIFCONF lifconf
 #endif
 
@@ -193,10 +193,10 @@ getbuf6(isc_interfaceiter_t *iter) {
 			return (ISC_R_NOMEMORY);
 
 		memset(&iter->lifc, 0, sizeof(iter->lifc));
-#ifdef ISC_HAVE_LIFC_FAMILY
+#ifdef USE_LIFC_FAMILY
 		iter->lifc.lifc_family = AF_INET6;
 #endif
-#ifdef ISC_HAVE_LIFC_FLAGS
+#ifdef USE_LIFC_FLAGS
 		iter->lifc.lifc_flags = 0;
 #endif
 		iter->lifc.lifc_len = iter->bufsize6;



More information about the vc mailing list