mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
remove some useless ; in declarations
This commit is contained in:
parent
92ef305e1e
commit
0547b18d32
6 changed files with 13 additions and 13 deletions
|
@ -64,7 +64,7 @@ static NSIndexPath *dummy = nil;
|
|||
return AUTORELEASE(o);
|
||||
}
|
||||
|
||||
+ (NSIndexPath *) indexPathForItem: (NSInteger)item inSection: (NSInteger)section;
|
||||
+ (NSIndexPath *) indexPathForItem: (NSInteger)item inSection: (NSInteger)section
|
||||
{
|
||||
NSUInteger idxs[2];
|
||||
|
||||
|
@ -74,7 +74,7 @@ static NSIndexPath *dummy = nil;
|
|||
return [self indexPathWithIndexes: idxs length: 2];
|
||||
}
|
||||
|
||||
+ (NSIndexPath *) indexPathForRow: (NSInteger)row inSection: (NSInteger)section;
|
||||
+ (NSIndexPath *) indexPathForRow: (NSInteger)row inSection: (NSInteger)section
|
||||
{
|
||||
NSUInteger idxs[2];
|
||||
|
||||
|
|
|
@ -58,22 +58,22 @@
|
|||
return _unitStyle;
|
||||
}
|
||||
|
||||
- (void) setUnitStyle: (NSFormattingUnitStyle)style;
|
||||
- (void) setUnitStyle: (NSFormattingUnitStyle)style
|
||||
{
|
||||
_unitStyle = style;
|
||||
}
|
||||
|
||||
- (BOOL) isForPersonMassUse;
|
||||
- (BOOL) isForPersonMassUse
|
||||
{
|
||||
return _isForPersonMassUse;
|
||||
}
|
||||
|
||||
- (void) setForPersonMassUse: (BOOL)flag;
|
||||
- (void) setForPersonMassUse: (BOOL)flag
|
||||
{
|
||||
_isForPersonMassUse = flag;
|
||||
}
|
||||
|
||||
- (NSString *) stringFromValue: (double)value unit: (NSMassFormatterUnit)unit;
|
||||
- (NSString *) stringFromValue: (double)value unit: (NSMassFormatterUnit)unit
|
||||
{
|
||||
NSUnit *u = nil;
|
||||
NSMeasurement *m = nil;
|
||||
|
@ -109,12 +109,12 @@
|
|||
return [mf stringFromMeasurement: m];
|
||||
}
|
||||
|
||||
- (NSString *) stringFromKilograms: (double)numberInKilograms;
|
||||
- (NSString *) stringFromKilograms: (double)numberInKilograms
|
||||
{
|
||||
return [self stringFromValue: numberInKilograms unit: NSMassFormatterUnitKilogram];
|
||||
}
|
||||
|
||||
- (NSString *) unitStringFromValue: (double)value unit: (NSMassFormatterUnit)unit;
|
||||
- (NSString *) unitStringFromValue: (double)value unit: (NSMassFormatterUnit)unit
|
||||
{
|
||||
return [self stringFromValue: value unit: unit];
|
||||
}
|
||||
|
|
|
@ -284,7 +284,7 @@ static NSArray *empty = nil;
|
|||
return internal->ready;
|
||||
}
|
||||
|
||||
- (void) main;
|
||||
- (void) main
|
||||
{
|
||||
return; // OSX default implementation does nothing
|
||||
}
|
||||
|
|
|
@ -384,13 +384,13 @@ extern void GSPropertyListMake(id,NSDictionary*,BOOL,BOOL,unsigned,id*);
|
|||
return [NSPredicate class];
|
||||
}
|
||||
|
||||
- (void) encodeWithCoder: (NSCoder *) coder;
|
||||
- (void) encodeWithCoder: (NSCoder *) coder
|
||||
{
|
||||
// FIXME
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (id) initWithCoder: (NSCoder *) coder;
|
||||
- (id) initWithCoder: (NSCoder *) coder
|
||||
{
|
||||
// FIXME
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
|
|
@ -350,7 +350,7 @@ static NSMutableDictionary *__subscribers = nil;
|
|||
}
|
||||
|
||||
// Instance property accessors...
|
||||
- (void) setFileOperationKind: (NSProgressFileOperationKind)k;
|
||||
- (void) setFileOperationKind: (NSProgressFileOperationKind)k
|
||||
{
|
||||
ASSIGN(internal->_fileOperationKind, k);
|
||||
}
|
||||
|
|
|
@ -334,7 +334,7 @@ static unsigned nextSessionIdentifier()
|
|||
}
|
||||
|
||||
- (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request
|
||||
fromData: (NSData*)bodyData;
|
||||
fromData: (NSData*)bodyData
|
||||
{
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue