Loading...
--- Libc/Libc-1583.60.2/include/string.h
+++ Libc/Libc-1158.1.2/include/string.h
@@ -72,15 +72,11 @@
void *memcpy(void *__dst, const void *__src, size_t __n);
void *memmove(void *__dst, const void *__src, size_t __len);
void *memset(void *__b, int __c, size_t __len);
-#ifndef UNIFDEF_DRIVERKIT
char *strcat(char *__s1, const char *__s2);
-#endif /* UNIFDEF_DRIVERKIT */
char *strchr(const char *__s, int __c);
int strcmp(const char *__s1, const char *__s2);
int strcoll(const char *__s1, const char *__s2);
-#ifndef UNIFDEF_DRIVERKIT
char *strcpy(char *__dst, const char *__src);
-#endif /* UNIFDEF_DRIVERKIT */
size_t strcspn(const char *__s, const char *__charset);
//Begin-Libc
#ifndef LIBC_ALIAS_STRERROR
@@ -139,9 +135,7 @@
#if __DARWIN_C_LEVEL >= 200809L
__BEGIN_DECLS
-#ifndef UNIFDEF_DRIVERKIT
char *stpcpy(char *__dst, const char *__src);
-#endif /* UNIFDEF_DRIVERKIT */
char *stpncpy(char *__dst, const char *__src, size_t __n) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
char *strndup(const char *__s1, size_t __n) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
size_t strnlen(const char *__s1, size_t __n) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
@@ -180,14 +174,6 @@
/* SUS places swab() in unistd.h. It is listed here for source compatibility */
void swab(const void * __restrict, void * __restrict, ssize_t);
-
-__OSX_AVAILABLE(10.12.1) __IOS_AVAILABLE(10.1)
-__TVOS_AVAILABLE(10.0.1) __WATCHOS_AVAILABLE(3.1)
-int timingsafe_bcmp(const void *__b1, const void *__b2, size_t __len);
-
-__OSX_AVAILABLE(10.16) __IOS_AVAILABLE(14.0)
-__TVOS_AVAILABLE(14.0) __WATCHOS_AVAILABLE(7.0)
-int strsignal_r(int __sig, char *__strsignalbuf, size_t __buflen);
__END_DECLS
/* Some functions historically defined in string.h were placed in strings.h