Housekeeping - typecasts to avoid warnings and removal of redundant methods.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2870 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-07-29 09:22:18 +00:00
parent 86dbd2aa63
commit fa0f1a19ca
16 changed files with 34 additions and 61 deletions

View file

@ -737,11 +737,6 @@ readContentsOfFile(NSString* path, void** buf, unsigned* len)
intBuffer[i] = NSSwapBigIntToHost (intBuffer[i]);
}
- (id) copy
{
return [self copyWithZone: NSDefaultMallocZone()];
}
- (id) copyWithZone: (NSZone*)zone
{
if (NSShouldRetainWithZone(self, zone) &&
@ -752,11 +747,6 @@ readContentsOfFile(NSString* path, void** buf, unsigned* len)
initWithBytes: [self bytes] length: [self length]];
}
- (id) mutableCopy
{
return [self mutableCopyWithZone: NSDefaultMallocZone()];
}
- (id) mutableCopyWithZone: (NSZone*)zone
{
return [[NSMutableDataMalloc allocWithZone: zone]