Loading...
stdlib/FreeBSD/system.c Libc-1725.40.4 Libc-1158.50.2
--- Libc/Libc-1725.40.4/stdlib/FreeBSD/system.c
+++ Libc/Libc-1158.50.2/stdlib/FreeBSD/system.c
@@ -27,9 +27,6 @@
  * SUCH DAMAGE.
  */
 
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wstrict-prototypes"
-
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)system.c	8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */
@@ -57,9 +54,7 @@
 #if __DARWIN_UNIX03
 #include <pthread.h>
 
-#if !(TARGET_OS_IPHONE && (TARGET_OS_SIMULATOR || !TARGET_OS_IOS))
 static pthread_mutex_t __systemfn_mutex = PTHREAD_MUTEX_INITIALIZER;
-#endif
 extern int __unix_conforming;
 #endif /* __DARWIN_UNIX03 */
 
@@ -159,5 +154,3 @@
 
 __weak_reference(__system, system);
 __weak_reference(__system, _system);
-
-#pragma clang diagnostic pop