diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2009-09-16 04:39:34 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2009-09-16 04:39:34 +0000 |
commit | 639180687601c7355ec440e90f69bd05d768d34f (patch) | |
tree | 0f1e7f8e806b17ebb3657b4e6a4078d743439e73 | |
parent | b4f9ed46bedfc2fccd3c8795222e473fb4609f94 (diff) |
Some minor details.
-rw-r--r-- | MobileSafety.mm | 2 | ||||
-rwxr-xr-x | make.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MobileSafety.mm b/MobileSafety.mm index dd72050..02b9469 100644 --- a/MobileSafety.mm +++ b/MobileSafety.mm @@ -176,7 +176,7 @@ MSHook(void, SBStatusBarTimeView$tile, SBStatusBarTimeView *self, SEL sel) { #define Dylib_ "/Library/MobileSubstrate/MobileSubstrate.dylib" -extern "C" void MSInitialize() { +MSInitialize { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSLog(@"MS:Warning: Entering Safe Mode"); @@ -2,4 +2,4 @@ flags=(-O2 -g0 -fno-exceptions -fvisibility=hidden) cycc -i2.0 -oMobileSafety.dylib -- "${flags[@]}" -dynamiclib MobileSafety.mm \ -framework CoreFoundation -framework Foundation -framework UIKit \ - -L. -lsubstrate -lobjc -init _MSInitialize + -L. -lsubstrate -lobjc |