Module Name: src
Committed By: rillig
Date: Mon Apr 5 10:54:05 UTC 2021
Modified Files:
src/external/mpl/bind/dist/contrib/dlz/modules/wildcard:
dlz_wildcard_dynamic.c
Log Message:
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".
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c
diff -u src/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c:1.4 src/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c:1.5
--- src/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c:1.4 Sun May 24 19:46:21 2020
+++ src/external/mpl/bind/dist/contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c Mon Apr 5 10:54:05 2021
@@ -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, [email protected].
@@ -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. */