Loading...
include/stdlib.h Libc-1583.60.2 Libc-1506.40.4
--- Libc/Libc-1583.60.2/include/stdlib.h
+++ Libc/Libc-1506.40.4/include/stdlib.h
@@ -235,9 +235,6 @@
 char	*l64a(long);
 void	 lcong48(unsigned short[7]);
 long	 lrand48(void) __swift_unavailable("Use arc4random instead.");
-#if !defined(_POSIX_C_SOURCE)
-__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.")
-#endif
 char	*mktemp(char *);
 int	 mkstemp(char *);
 long	 mrand48(void) __swift_unavailable("Use arc4random instead.");
@@ -328,7 +325,6 @@
 #endif /* __DARWIN_UNIX03 */
 #endif	/* !_ANSI_SOURCE */
 #endif /* UNIFDEF_DRIVERKIT */
-__END_DECLS
 
 #if !defined(_ANSI_SOURCE) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))
 #include <machine/types.h>
@@ -338,7 +334,6 @@
 #endif /* UNIFDEF_DRIVERKIT */
 #include <_types/_uint32_t.h>
 
-__BEGIN_DECLS
 uint32_t arc4random(void);
 #ifndef UNIFDEF_DRIVERKIT
 void	 arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
@@ -457,10 +452,8 @@
 extern char *suboptarg;		/* getsubopt(3) external variable */
 /* valloc is now declared in _malloc.h */
 #endif /* UNIFDEF_DRIVERKIT */
-__END_DECLS
 #endif	/* !_ANSI_SOURCE && !_POSIX_SOURCE */
 
-__BEGIN_DECLS
 /* Poison the following routines if -fshort-wchar is set */
 #if !defined(__cplusplus) && defined(__WCHAR_MAX__) && __WCHAR_MAX__ <= 0xffffU
 #pragma GCC poison mbstowcs mbtowc wcstombs wctomb