freebsd-src/usr.bin/localedef
Warner Losh 5e3934b15a usr.bin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank 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
2023-11-26 22:24:01 -07:00
..
bootstrap Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
charmap.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
collate.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ctype.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
localedef.1 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
localedef.c localedef: add newlines to error messages 2023-09-05 14:08:59 -05:00
localedef.h usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
messages.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
monetary.c localedef: add newlines to error messages 2023-09-05 14:08:59 -05:00
numeric.c localedef: add newlines to error messages 2023-09-05 14:08:59 -05:00
parser.y Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
README
scanner.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
time.c localedef: add newlines to error messages 2023-09-05 14:08:59 -05:00
wide.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00

While there are tools called "localedef" in Solaris and Linux, this
tool does not share heritage with any other implementation.  It was
written independently by Garrett D'Amore while employed at Nexenta
Systems, and thus carries the Nexenta Copyright.

It was initially released under the CDDL license, but on 4 July 2014,
Nexenta reissued the source under the BSD 2-clause license.  This
code is part of the Illumos project.

see:
https://github.com/Nexenta/illumos-nexenta/commit/cf17542a37fc83d0ae093777e30d480423858c29