git: 92ff108e99e5 - main - sys/_types.h: drop sys/cdefs.h include
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jun 2025 17:00:22 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=92ff108e99e5c3904959a13ad5a99f63919cf62e
commit 92ff108e99e5c3904959a13ad5a99f63919cf62e
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2025-06-11 16:39:01 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2025-06-11 16:39:01 +0000
sys/_types.h: drop sys/cdefs.h include
We no longer use it and it pollutes downstream headers.
Reviewed by: imp
Exp-run by: antoine (PR 286274)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1595
---
sys/sys/_types.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index f6d1f26551e0..fe345b43d5eb 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -29,8 +29,6 @@
#ifndef _SYS__TYPES_H_
#define _SYS__TYPES_H_
-#include <sys/cdefs.h>
-
/*
* Basic types upon which most other types are built.
*