]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: Automated cleanup of cdefs and other formatting
authorWarner Losh <imp@FreeBSD.org>
Fri, 24 Nov 2023 20:12:57 +0000 (13:12 -0700)
committerWarner Losh <imp@FreeBSD.org>
Mon, 27 Nov 2023 05:24:00 +0000 (22:24 -0700)
commit7c43148a974877188a930e4078a164f83da8e652
tree72b6dc71550e2eb9439b0a6fe1e40d2719d4b7bb
parent0044e9124e474b5d45a77df328d0d7b00ec7e57b
stand: 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
76 files changed:
stand/arm64/libarm64/cache.c
stand/common/bcache.c
stand/common/console.c
stand/common/gfx_fb.c
stand/common/install.c
stand/common/interp_forth.c
stand/common/load_elf.c
stand/common/load_elf_obj.c
stand/common/ls.c
stand/common/reloc_elf.c
stand/common/self_reloc.c
stand/common/tslog.c
stand/efi/boot1/boot1.c
stand/efi/boot1/proto.c
stand/efi/boot1/ufs_module.c
stand/efi/boot1/zfs_module.c
stand/efi/fdt/efi_fdt.c
stand/efi/gptboot/proto.c
stand/efi/libefi/efi_console.c
stand/efi/libefi/efichar.c
stand/efi/libefi/efihttp.c
stand/efi/libefi/efinet.c
stand/efi/libefi/efizfs.c
stand/efi/loader/arch/arm/exec.c
stand/efi/loader/arch/riscv/exec.c
stand/efi/loader/copy.c
stand/i386/boot0/boot0.S
stand/i386/boot2/boot2.c
stand/i386/common/cons.c
stand/i386/common/drv.c
stand/i386/gptboot/gptboot.c
stand/i386/isoboot/isoboot.c
stand/i386/libi386/elf32_freebsd.c
stand/i386/libi386/multiboot.c
stand/kboot/hostcons.c
stand/kboot/hostdisk.c
stand/kboot/kbootfdt.c
stand/liblua/lutils.c
stand/libofw/ofw_console.c
stand/libofw/ofw_memory.c
stand/libofw/ofw_net.c
stand/libofw/openfirm.h
stand/libsa/__main.c
stand/libsa/arp.c
stand/libsa/bcd.c
stand/libsa/cd9660read.c
stand/libsa/dev.c
stand/libsa/ether.c
stand/libsa/globals.c
stand/libsa/gpt.c
stand/libsa/in_cksum.c
stand/libsa/ip.c
stand/libsa/net.c
stand/libsa/netif.c
stand/libsa/nfs.c
stand/libsa/preload.c
stand/libsa/random.c
stand/libsa/rarp.c
stand/libsa/read.c
stand/libsa/readdir.c
stand/libsa/tslog.c
stand/libsa/twiddle.c
stand/libsa/udp.c
stand/libsa/write.c
stand/libsa/zalloc.c
stand/libsa/zfs/nvlist.c
stand/powerpc/boot1.chrp/boot1.c
stand/powerpc/ofw/elf_freebsd.c
stand/uboot/copy.c
stand/uboot/elf_freebsd.c
stand/uboot/glue.c
stand/uboot/main.c
stand/uboot/net.c
stand/uboot/uboot_disk.c
stand/uboot/uboot_fdt.c
stand/userboot/userboot/elf32_freebsd.c