Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2023 17:58:58 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: abe12d2f4ce3 - stable/14 - libc: remove unused errno.h include
Message-ID:  <202311071758.3A7Hww0Q087481@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=abe12d2f4ce31c3da0961b1b0a58df11f5a41e19

commit abe12d2f4ce31c3da0961b1b0a58df11f5a41e19
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-11-07 15:00:35 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-11-07 17:29: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
    
    (cherry picked from commit 418f026bd5a5084c1c4e2e91ad38051f6caa928c)
    
    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>



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