ypserv: Add SPDX-License-Identifier tagsReviewed by: emasteSponsored by: The FreeBSD Foundation
usr.sbin: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.
usr.sbin: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
show more ...
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
yp: Use more accurate function pointer types.Trim a few duplicate (but incomplete) function prototypes as well.Reviewed by: zlei, impDifferential Revision: https://reviews.freebsd.org/D39532
Sync ypwhich(1) code with the OpenBSD version that is more modern.Update the BSD LICENSE and remove the 3rd clause.Reviewed by: rodrigc, kib, baptApproved by: bapt (mentor)Obtained from: OpenBSD
Sync ypwhich(1) code with the OpenBSD version that is more modern.Update the BSD LICENSE and remove the 3rd clause.Reviewed by: rodrigc, kib, baptApproved by: bapt (mentor)Obtained from: OpenBSDDifferential Revision: D3249