]> git.saurik.com Git - apple/dyld.git/blobdiff - testing/kernel-cache-tests/kmod-info-errors/foo.c
dyld-832.7.1.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / kmod-info-errors / foo.c
diff --git a/testing/kernel-cache-tests/kmod-info-errors/foo.c b/testing/kernel-cache-tests/kmod-info-errors/foo.c
new file mode 100644 (file)
index 0000000..cddf937
--- /dev/null
@@ -0,0 +1,15 @@
+
+#include "kmod.h"
+
+int startKext() {
+       return 0;
+}
+int endKext() {
+       return 0;
+}
+
+KMOD_EXPLICIT_DECL(com.apple.foo, "1.0.0", startKext, endKext)
+
+int bar() {
+       return 0;
+}