Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/dist/contrib/dlz/modules/wildcard bind: re...
details: https://anonhg.NetBSD.org/src/rev/a19bd621c020
branches: trunk
changeset: 954334:a19bd621c020
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Apr 05 10:54:05 2021 +0000
description:
bind: remove obsolete local modifications
The duplicate include has been added upstream, further up in the file.
Since lint1/tree.c 1.202 from 2021-01-31, lint no longer needs the
/*CONSTCOND*/ for do-while-0 "loops".
diffstat:
external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r f6b6cb74ffab -r a19bd621c020 external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c
--- a/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c Mon Apr 05 10:19:34 2021 +0000
+++ b/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c Mon Apr 05 10:54:05 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dlz_wildcard_dynamic.c,v 1.4 2020/05/24 19:46:21 christos Exp $ */
+/* $NetBSD: dlz_wildcard_dynamic.c,v 1.5 2021/04/05 10:54:05 rillig Exp $ */
/*
* Copyright (C) 2002 Stichting NLnet, Netherlands, stichting%nlnet.nl@localhost.
@@ -61,8 +61,6 @@
#include <dlz_list.h>
#include <dlz_minimal.h>
-#include <ctype.h>
-
#define DE_CONST(konst, var) \
do { \
union { \
@@ -71,7 +69,7 @@
} _u; \
_u.k = konst; \
var = _u.v; \
- } while (/*CONSTCOND*/0)
+ } while (0)
/* fnmatch() return values. */
#define FNM_NOMATCH 1 /* Match failed. */
Home |
Main Index |
Thread Index |
Old Index