mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Include <Foundation/NSException.h>. Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1618 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
558eda111b
commit
17def236ab
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include <gnustep/base/preface.h>
|
#include <gnustep/base/preface.h>
|
||||||
#include <Foundation/NSLock.h>
|
#include <Foundation/NSLock.h>
|
||||||
|
#include <Foundation/NSException.h>
|
||||||
|
|
||||||
// NSLock class
|
// NSLock class
|
||||||
// Simplest lock for protecting critical sections of code
|
// Simplest lock for protecting critical sections of code
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
|
|
||||||
// Allocate the mutex from the runtime
|
// Allocate the mutex from the runtime
|
||||||
mutex = objc_mutex_allocate();
|
mutex = objc_mutex_allocate();
|
||||||
NSAssertParameter (mutex);
|
NSParameterAssert (mutex);
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue