Explorar o código

hide purely dependency-triggering functions in stdio __toread & __towrite

Rich Felker %!s(int64=6) %!d(string=hai) anos
pai
achega
6d47488e86
Modificáronse 2 ficheiros con 2 adicións e 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();
 }