Loading...
stdio/FreeBSD/fscanf.c Libc-1725.40.4 Libc-825.26
--- Libc/Libc-1725.40.4/stdio/FreeBSD/fscanf.c
+++ Libc/Libc-825.26/stdio/FreeBSD/fscanf.c
@@ -44,15 +44,12 @@
 #include "un-namespace.h"
 #include "libc_private.h"
 #include "local.h"
-#include "libc_hooks_impl.h"
 
 int
 fscanf(FILE * __restrict fp, char const * __restrict fmt, ...)
 {
 	int ret;
 	va_list ap;
-
-	libc_hooks_will_write(fp, sizeof(*fp));
 
 	va_start(ap, fmt);
 	FLOCKFILE(fp);
@@ -68,8 +65,6 @@
 	int ret;
 	va_list ap;
 
-	libc_hooks_will_write(fp, sizeof(*fp));
-
 	NORMALIZE_LOCALE(loc);
 	va_start(ap, fmt);
 	FLOCKFILE(fp);