git: 59ec3ffdd7ce - stable/13 - libc: remove unused errno.h include
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Nov 2023 18:44:07 UTC
The branch stable/13 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=59ec3ffdd7ce85f32ea833e8024f7bacd36d4e97
commit 59ec3ffdd7ce85f32ea833e8024f7bacd36d4e97
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-11-07 15:00:35 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-11-07 18:41:49 +0000
libc: remove unused errno.h include
errno.h was added in 44cf1e5eb470, which has been reverted.
Fixes: d09a3bf72c0b ("fflush: correct buffer handling in __sflush")
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 418f026bd5a5084c1c4e2e91ad38051f6caa928c)
(cherry picked from commit abe12d2f4ce31c3da0961b1b0a58df11f5a41e19)
Approved by: so
---
lib/libc/stdio/fvwrite.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/libc/stdio/fvwrite.c b/lib/libc/stdio/fvwrite.c
index 26245acca1c9..dd170ee3d7dc 100644
--- a/lib/libc/stdio/fvwrite.c
+++ b/lib/libc/stdio/fvwrite.c
@@ -36,7 +36,6 @@
static char sccsid[] = "@(#)fvwrite.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>