X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/d3f1e533acc7f70659b8bde9b6c040974f05e03b..bc3b7c8cda49ed8598284a489c0bb9694c67c6a4:/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 index 0000000..cddf937 --- /dev/null +++ b/testing/kernel-cache-tests/kmod-info-errors/foo.c @@ -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; +}