git: 418f026bd5a5 - main - libc: remove unused errno.h include
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Nov 2023 15:23:30 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=418f026bd5a5084c1c4e2e91ad38051f6caa928c
commit 418f026bd5a5084c1c4e2e91ad38051f6caa928c
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-11-07 15:00:35 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-11-07 15:23:20 +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
---
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 301e0d6f5e58..63d17a8f8ffd 100644
--- a/lib/libc/stdio/fvwrite.c
+++ b/lib/libc/stdio/fvwrite.c
@@ -35,7 +35,6 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fvwrite.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>