mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix declarations for -baseadd and minor convention issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18011 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c2b8811456
commit
7a61ad790e
2 changed files with 3 additions and 3 deletions
|
@ -277,11 +277,11 @@ typedef enum _NSGNUstepStringEncoding
|
|||
@end
|
||||
|
||||
@interface NSLock (GSCategories)
|
||||
+ (id)newLockAt:(NSLock **)location;
|
||||
+ (id)newLockAt:(id *)location;
|
||||
@end
|
||||
|
||||
@interface NSRecursiveLock (GSCategories)
|
||||
+ (id)newLockAt:(NSLock **)location;
|
||||
+ (id)newLockAt:(id *)location;
|
||||
@end
|
||||
|
||||
|
||||
|
|
|
@ -895,7 +895,7 @@ static NSRecursiveLock *local_lock = nil;
|
|||
@implementation _GSLockInitializer
|
||||
+ (void)initialize
|
||||
{
|
||||
if (!local_lock)
|
||||
if (local_lock == nil)
|
||||
{
|
||||
local_lock = [GSLazyRecursiveLock new];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue