mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
86f35c472c
commit
e8eb4809bb
2 changed files with 3 additions and 3 deletions
|
@ -277,11 +277,11 @@ typedef enum _NSGNUstepStringEncoding
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSLock (GSCategories)
|
@interface NSLock (GSCategories)
|
||||||
+ (id)newLockAt:(NSLock **)location;
|
+ (id)newLockAt:(id *)location;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSRecursiveLock (GSCategories)
|
@interface NSRecursiveLock (GSCategories)
|
||||||
+ (id)newLockAt:(NSLock **)location;
|
+ (id)newLockAt:(id *)location;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -895,7 +895,7 @@ static NSRecursiveLock *local_lock = nil;
|
||||||
@implementation _GSLockInitializer
|
@implementation _GSLockInitializer
|
||||||
+ (void)initialize
|
+ (void)initialize
|
||||||
{
|
{
|
||||||
if (!local_lock)
|
if (local_lock == nil)
|
||||||
{
|
{
|
||||||
local_lock = [GSLazyRecursiveLock new];
|
local_lock = [GSLazyRecursiveLock new];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue