]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Constrain the explicit macros for remote.c:fr_atomic_copy_cfg().
authorYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 6 Mar 2026 16:27:21 +0000 (17:27 +0100)
committerYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 6 Mar 2026 16:27:21 +0000 (17:27 +0100)
daemon/remote.c

index 00e7dd21d6bb9bbb9fff3d878edd5b72a1bfb855..292a7f6fad9f3071ae6848224971046943f7dbc1 100644 (file)
@@ -6186,6 +6186,15 @@ fr_atomic_copy_cfg(struct config_file* oldcfg, struct config_file* cfg,
        COPY_VAR_int(iter_scrub_cname);
        COPY_VAR_int(max_global_quota);
        COPY_VAR_int(iter_scrub_promiscuous);
+
+#undef COPY_VAR_int
+#undef COPY_VAR_ptr
+#undef COPY_VAR_unsigned_int
+#undef COPY_VAR_size_t
+#undef COPY_VAR_uint8_t
+#undef COPY_VAR_uint16_t
+#undef COPY_VAR_uint32_t
+#undef COPY_VAR_int32_t
 }
 #endif /* ATOMIC_POINTER_LOCK_FREE && HAVE_LINK_ATOMIC_STORE */