git: f6e84c71798c - stable/15 - aq(4): Remove #include of user header <unistd.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jul 2026 16:01:17 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=f6e84c71798c907794c9550e88fb85ae3917b260
commit f6e84c71798c907794c9550e88fb85ae3917b260
Author: Rozhuk Ivan <rozhuk.im@gmail.com>
AuthorDate: 2022-10-26 12:37:57 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-07-24 16:00:18 +0000
aq(4): Remove #include of user header <unistd.h>
pause() has 2 different definition in unistd.h and sys/systm.h
(cherry picked from commit 14eb7ec7b7135ad1a3448590cbe70b1368b40ec7)
---
sys/dev/aq/aq_hw.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/dev/aq/aq_hw.c b/sys/dev/aq/aq_hw.c
index 3b1764477369..f5f84203588c 100644
--- a/sys/dev/aq/aq_hw.c
+++ b/sys/dev/aq/aq_hw.c
@@ -32,7 +32,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <unistd.h>
#include <sys/endian.h>
#include <sys/param.h>
#include <sys/systm.h>