Index: src/OFArray.m ================================================================== --- src/OFArray.m +++ src/OFArray.m @@ -565,11 +565,11 @@ @end @implementation OFArrayEnumerator - initWithArray: (OFArray*)array_ dataArray: (OFDataArray*)dataArray_ - mutationsPointer: (unsigned long*)mutationsPtr_; + mutationsPointer: (unsigned long*)mutationsPtr_ { self = [super init]; array = [array_ retain]; dataArray = [dataArray_ retain]; Index: src/OFConstantString.m ================================================================== --- src/OFConstantString.m +++ src/OFConstantString.m @@ -52,11 +52,11 @@ @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; } - initWithCString: (const char*)str - encoding: (of_string_encoding_t)encoding; + encoding: (of_string_encoding_t)encoding { @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; } Index: src/OFDictionary.m ================================================================== --- src/OFDictionary.m +++ src/OFDictionary.m @@ -34,11 +34,11 @@ #define BUCKET struct of_dictionary_bucket #define DELETED &of_dictionary_deleted_bucket @implementation OFDictionary -+ dictionary; ++ dictionary { return [[[self alloc] init] autorelease]; } + dictionaryWithDictionary: (OFDictionary*)dict Index: src/OFList.m ================================================================== --- src/OFList.m +++ src/OFList.m @@ -50,16 +50,16 @@ [iter->object release]; [super dealloc]; } -- (of_list_object_t*)firstListObject; +- (of_list_object_t*)firstListObject { return firstListObject; } -- (of_list_object_t*)lastListObject; +- (of_list_object_t*)lastListObject { return lastListObject; } - (of_list_object_t*)appendObject: (id)obj @@ -346,11 +346,11 @@ } @end @implementation OFListEnumerator - initWithList: (OFList*)list_ - mutationsPointer: (unsigned long*)mutationsPtr_; + mutationsPointer: (unsigned long*)mutationsPtr_ { self = [super init]; list = [list_ retain]; current = [list firstListObject]; Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -362,11 +362,11 @@ method_getTypeEncoding(method)); #endif } + (IMP)replaceClassMethod: (SEL)selector - withMethodFromClass: (Class)class; + withMethodFromClass: (Class)class { IMP newimp; if (![class isSubclassOfClass: self]) @throw [OFInvalidArgumentException newWithClass: self @@ -420,11 +420,11 @@ method_getTypeEncoding(method)); #endif } + (IMP)replaceInstanceMethod: (SEL)selector - withMethodFromClass: (Class)class; + withMethodFromClass: (Class)class { IMP newimp; if (![class isSubclassOfClass: self]) @throw [OFInvalidArgumentException newWithClass: self @@ -678,11 +678,11 @@ return [self resizeMemory: ptr toSize: nitems * size]; } -- (void)freeMemory: (void*)ptr; +- (void)freeMemory: (void*)ptr { void **iter, *last, **memchunks; size_t i, memchunks_size; if (ptr == NULL) Index: src/OFString.m ================================================================== --- src/OFString.m +++ src/OFString.m @@ -1212,11 +1212,11 @@ return [OFString stringWithCString: string + i length: path_len - i]; } -- (OFString*)stringByDeletingLastPathComponent; +- (OFString*)stringByDeletingLastPathComponent { size_t i, path_len = length; if (path_len == 0) return @""; Index: src/exceptions/OFCopyFileFailedException.m ================================================================== --- src/exceptions/OFCopyFileFailedException.m +++ src/exceptions/OFCopyFileFailedException.m @@ -87,10 +87,10 @@ - (OFString*)sourcePath { return sourcePath; } -- (OFString*)destinationPath; +- (OFString*)destinationPath { return destinationPath; } @end Index: src/exceptions/OFRenameFileFailedException.m ================================================================== --- src/exceptions/OFRenameFileFailedException.m +++ src/exceptions/OFRenameFileFailedException.m @@ -87,10 +87,10 @@ - (OFString*)sourcePath { return sourcePath; } -- (OFString*)destinationPath; +- (OFString*)destinationPath { return destinationPath; } @end