Sfoglia il codice sorgente

For now, leave the "Oddly enough, __fsetlocking() is NOT threadsafe."
comment as an mjn3 only item.

Eric Andersen 21 anni fa
parent
commit
c1dea5f365
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      libc/stdio/stdio.c

+ 2 - 0
libc/stdio/stdio.c

@@ -1039,7 +1039,9 @@ void _flushlbf(void)
  * be to change to user locking immediately after opening the stream.
  */
 
+#ifdef __UCLIBC_MJN3_ONLY__
 link_warning(__fsetlocking, "Oddly enough, __fsetlocking() is NOT threadsafe.")
+#endif
 
 int __fsetlocking(FILE *stream, int locking_mode)
 {