@@ -26,11 +26,10 @@ struct ObjFWRTBase; #import "inline.h" -#include #include #include #if defined(OF_AMIGAOS_M68K) # include @@ -69,16 +68,10 @@ #endif struct Library *ObjFWRTBase; void *__objc_class_name_Protocol; -static int * -get_errno(void) -{ - return &errno; -} - static void error(const char *string, ULONG arg) { struct Library *IntuitionBase = OpenLibrary("intuition.library", 0); @@ -134,11 +127,10 @@ #endif #ifdef OF_MORPHOS .__register_frame = __register_frame, .__deregister_frame = __deregister_frame, #endif - .get_errno = get_errno, #ifdef OF_AMIGAOS_M68K .vsnprintf = vsnprintf, #endif .atexit = atexit, .exit = exit,