1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sys/libkern
Warner Losh fdafd315ad sys: 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:00 -07:00
..
arm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
arm64 arm64: Mark the armv8 crc32c as supporting BTI 2023-11-21 11:25:43 +00:00
x86 sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
arc4random_uniform.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
arc4random.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ashldi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ashrdi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
asprintf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bcd.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bcopy.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bsearch.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cmpdi2.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
crc16.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
divdi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
divmoddi4.c divmoddi*: Use separate statements instead of the comma operator. 2023-07-07 13:01:19 -07:00
explicit_bzero.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fnmatch.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
gsb_crc32.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv_converter_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iconv_ucs.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv_xlat16.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv_xlat.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_aton.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_ntoa.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_ntop.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_pton.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
jenkins_hash.c sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
lshrdi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
memcchr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
memchr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
memcmp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
memmem.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
memset.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
moddi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
murmur3_32.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
qdivrem.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
qsort_r.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
qsort.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
quad.h sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
random.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
scanc.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
strcasecmp.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strcasestr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strcat.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strchr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strchrnul.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strcmp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strcpy.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strcspn.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strdup.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strlcat.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strlcpy.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strlen.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strncat.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
strncmp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strncpy.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strndup.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strnlen.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strnstr.c Add missing libkern/strnstr.c file 2021-07-14 17:56:03 -07:00
strrchr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strsep.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strspn.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
strstr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtol.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtoq.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtoul.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtouq.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strvalid.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
timingsafe_bcmp.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ucmpdi2.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
udivdi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
udivmoddi4.c sys: Add [u]divmoddi4 intrinsics on i386. 2023-07-01 12:22:44 -07:00
umoddi3.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00