]> git.saurik.com Git - cydget.git/commitdiff
Remove the long-obsolete CYWeakHell insanity.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 29 Feb 2012 01:42:58 +0000 (01:42 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 29 Feb 2012 01:43:02 +0000 (01:43 +0000)
LockScreen.mm

index d677329904ba925c7cf0c88c25f2587406f34e55..9c1c4b5862f1fc209b8c0fff25f4900eb6d23008 100644 (file)
@@ -539,28 +539,6 @@ static void Cycriptify(const WebCore::String &source, int *psize = NULL) {
 }
 // }}}
 
-extern "C" void *_ZN3JSC7UString3Rep14nullBaseStringE __attribute__((__weak_import__));
-extern "C" void *_ZN3JSC7UString3Rep7destroyEv __attribute__((__weak_import__));
-extern "C" void *_ZN3JSC7UStringC1EPKti __attribute__((__weak_import__));
-extern "C" void *_ZN3JSC7UStringC1EPKc __attribute__((__weak_import__));
-extern "C" void *_ZNK3JSC7UString6substrEii __attribute__((__weak_import__));
-extern "C" void *_ZN3WTF10fastMallocEm __attribute__((__weak_import__));
-extern "C" void WTFReportAssertionFailure(const char *, int, const char *, const char *) __attribute__((__weak_import__));
-extern "C" void *_ZN3WTF8fastFreeEPv __attribute__((__weak_import__));
-
-bool CYWeakHell() {
-    return
-        &_ZN3JSC7UString3Rep14nullBaseStringE == NULL ||
-        &_ZN3JSC7UString3Rep7destroyEv == NULL ||
-        &_ZN3JSC7UStringC1EPKti == NULL ||
-        &_ZN3JSC7UStringC1EPKc == NULL ||
-        &_ZNK3JSC7UString6substrEii == NULL ||
-        &_ZN3WTF10fastMallocEm == NULL ||
-        &WTFReportAssertionFailure == NULL ||
-        &_ZN3WTF8fastFreeEPv == NULL ||
-    false;
-}
-
 static WebCore::String *string;
 
 // iOS 2.x