Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2023 15:23:30 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 418f026bd5a5 - main - libc: remove unused errno.h include
Message-ID:  <202311071523.3A7FNUmx035805@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311071523.3A7FNUmx035805>