]> git.saurik.com Git - apple/libc.git/blobdiff - libdarwin/internal.h
Libc-1439.100.3.tar.gz
[apple/libc.git] / libdarwin / internal.h
index a16d86658d57470ab0403974ea9ad075df3210c5..78a38db0f44a153a2cb04333fd956170f3d5128a 100644 (file)
@@ -78,6 +78,7 @@
 #include <struct.h>
 #include <bootstrap_priv.h>
 #include <assert.h>
+#include <sys/ioctl.h>
 
 #include "h/bsd.h"
 #include "h/cleanup.h"
 #include "h/stdlib.h"
 #include "h/string.h"
 
-#if DARWIN_TAPI
-#undef os_assert_mach
-#undef os_assert_mach_port_status
-
-// Duplicate declarations to make TAPI happy. This header is included in the
-// TAPI build as an extra public header.
-API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0))
-OS_EXPORT OS_NONNULL1
-void
-(os_assert_mach)(const char *op, kern_return_t kr);
-
-API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0))
-OS_EXPORT
-void
-os_assert_mach_port_status(const char *desc, mach_port_t p,
-               mach_port_status_t *expected);
-#endif
-
 #endif //__DARWIN_INTERNAL_H