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:
David Ayers 2003-10-30 14:29:41 +00:00
parent c2b8811456
commit 7a61ad790e
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -895,7 +895,7 @@ static NSRecursiveLock *local_lock = nil;
@implementation _GSLockInitializer
+ (void)initialize
{
if (!local_lock)
if (local_lock == nil)
{
local_lock = [GSLazyRecursiveLock new];
}