Loading...
stdio/FreeBSD/puts.c Libc-1725.40.4 Libc-825.26
--- Libc/Libc-1725.40.4/stdio/FreeBSD/puts.c
+++ Libc/Libc-825.26/stdio/FreeBSD/puts.c
@@ -43,7 +43,6 @@
 #include "fvwrite.h"
 #include "libc_private.h"
 #include "local.h"
-#include "libc_hooks_impl.h"
 
 // 3340719: __puts_null__ is used if string is NULL.  Shared by fputs.c
 __private_extern__ char const __puts_null__[] = "(null)";
@@ -52,14 +51,13 @@
  * Write the given string to stdout, appending a newline.
  */
 int
-puts(char const *s)
+puts(s)
+	char const *s;
 {
 	int retval;
 	size_t c;
 	struct __suio uio;
 	struct __siov iov[2];
-
-	libc_hooks_will_read_cstring(s);
 
 	// 3340719: __puts_null__ is used if s is NULL
 	if(s == NULL)