diff options
author | Warner Losh <imp@FreeBSD.org> | 2023-11-24 20:12:57 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-11-27 05:24:00 +0000 |
commit | fdafd315ad0d0f28a11b9fb4476a9ab059c62b92 (patch) | |
tree | 406c3dfc5c2c03a457c9908a9787144259a8418b /sys/ofed | |
parent | 7c43148a974877188a930e4078a164f83da8e652 (diff) | |
download | src-fdafd315ad0d0f28a11b9fb4476a9ab059c62b92.tar.gz src-fdafd315ad0d0f28a11b9fb4476a9ab059c62b92.zip |
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
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c index d46e030c5990..f70c92e8b295 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c @@ -62,7 +62,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ -#include <sys/cdefs.h> + #include <sys/param.h> #include <sys/eventhandler.h> #include <sys/kernel.h> |