]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/xnu_quick_test/helpers/arch.c
xnu-3247.1.106.tar.gz
[apple/xnu.git] / tools / tests / xnu_quick_test / helpers / arch.c
diff --git a/tools/tests/xnu_quick_test/helpers/arch.c b/tools/tests/xnu_quick_test/helpers/arch.c
deleted file mode 100644 (file)
index 1e4f867..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <spawn.h>
-#include <mach/machine.h>
-
-/*
- * Helper function for posix_spawn test: returns binary type as exit code.
- */
-int main()
-{
-#if __i386__
-       return CPU_TYPE_I386;
-#endif /* __i386__ */
-#if __x86_64__
-       return CPU_TYPE_X86_64;
-#endif /* __x86_64__ */
-       /* unrecognized type */
-       return -1;
-}