Module Name: src Committed By: rillig Date: Sat Nov 27 22:30:26 UTC 2021
Modified Files: src/usr.sbin/envstat: envstat.c src/usr.sbin/makemandb: apropos-utils.c src/usr.sbin/ndp: ndp.c src/usr.sbin/nfsd: nfsd.c src/usr.sbin/pstat: pstat.c src/usr.sbin/pwd_mkdb: pwd_mkdb.c src/usr.sbin/rtadvd: config.c src/usr.sbin/syslogd: sign.c sign.h syslogd.c syslogd.h tls.c Log Message: usr.sbin: remove unnecessary CONSTCOND, lint no longer needs it Since 2021-01-31, lint no longer requires a CONSTCOND comment in a do-while-0 statement since this is a common code pattern, especially in statement-like macros. sed -i -E 's,} while \(/\* ?CONSTCOND ?\*/ ?0\),} while (0),' */*.[ch] To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/usr.sbin/envstat/envstat.c cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/makemandb/apropos-utils.c cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/ndp/ndp.c cvs rdiff -u -r1.73 -r1.74 src/usr.sbin/nfsd/nfsd.c cvs rdiff -u -r1.132 -r1.133 src/usr.sbin/pstat/pstat.c cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/pwd_mkdb/pwd_mkdb.c cvs rdiff -u -r1.46 -r1.47 src/usr.sbin/rtadvd/config.c cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/syslogd/sign.c cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/syslogd/sign.h cvs rdiff -u -r1.137 -r1.138 src/usr.sbin/syslogd/syslogd.c cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/syslogd/syslogd.h cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/syslogd/tls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.