Loading...
--- Libc/Libc-1725.40.4/stdio/FreeBSD/fread.c
+++ Libc/Libc-997.90.3/stdio/FreeBSD/fread.c
@@ -42,7 +42,6 @@
#include "un-namespace.h"
#include "local.h"
#include "libc_private.h"
-#include "libc_hooks_impl.h"
/*
* MT-safe version
@@ -52,8 +51,6 @@
fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
{
size_t ret;
-
- libc_hooks_will_write(fp, sizeof(*fp));
FLOCKFILE(fp);
ret = __fread(buf, size, count, fp);
@@ -149,8 +146,6 @@
int r, ret;
size_t total;
- libc_hooks_will_write(buf, size * count);
-
/*
* ANSI and SUSv2 require a return value of 0 if size or count are 0.
*/