Loading...
--- dyld/dyld-960/testing/kernel-cache-tests/plugins/foo.c
+++ dyld/dyld-1042.1/testing/kernel-cache-tests/plugins/foo.c
@@ -1,3 +1,18 @@
+
+
+#include "../kmod.h"
+
+__attribute__((visibility(("hidden"))))
+int startKext() {
+ return 0;
+}
+
+__attribute__((visibility(("hidden"))))
+int endKext() {
+ return 0;
+}
+
+KMOD_EXPLICIT_DECL(com.apple.foo, "1.0.0", startKext, endKext)
int g = 0;
int* gPtr = &g;