Explorar el Código

hide purely dependency-triggering functions in stdio __toread & __towrite

Rich Felker hace 6 años
padre
commit
6d47488e86
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      src/stdio/__toread.c
  2. 1 1
      src/stdio/__towrite.c

+ 1 - 1
src/stdio/__toread.c

@@ -13,7 +13,7 @@ int __toread(FILE *f)
 	return (f->flags & F_EOF) ? EOF : 0;
 }
 
-void __toread_needs_stdio_exit()
+hidden void __toread_needs_stdio_exit()
 {
 	__stdio_exit_needed();
 }

+ 1 - 1
src/stdio/__towrite.c

@@ -17,7 +17,7 @@ int __towrite(FILE *f)
 	return 0;
 }
 
-void __towrite_needs_stdio_exit()
+hidden void __towrite_needs_stdio_exit()
 {
 	__stdio_exit_needed();
 }