Change return type of -initWithPath: to id.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17618 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-09-04 16:44:37 +00:00
parent b69faecbee
commit d950f019e2
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
* Headers/Foundation/NSDistributedLock.h: Change return type of
-initWithPath: to id.
2003-09-02 Adam Fedor <fedor@gnu.org> 2003-09-02 Adam Fedor <fedor@gnu.org>
* configure.ac: Check for tzset * configure.ac: Check for tzset

View file

@ -35,7 +35,7 @@
} }
+ (NSDistributedLock*) lockWithPath: (NSString*)aPath; + (NSDistributedLock*) lockWithPath: (NSString*)aPath;
- (NSDistributedLock*) initWithPath: (NSString*)aPath; - (id) initWithPath: (NSString*)aPath;
- (void) breakLock; - (void) breakLock;
- (NSDate*) lockDate; - (NSDate*) lockDate;

View file

@ -99,7 +99,7 @@ static NSFileManager *mgr = nil;
* The directory in which the last path component resides must already * The directory in which the last path component resides must already
* exist ... create it using NSFileManager if you need to. * exist ... create it using NSFileManager if you need to.
*/ */
- (NSDistributedLock*) initWithPath: (NSString*)aPath - (id) initWithPath: (NSString*)aPath
{ {
NSString *lockDir; NSString *lockDir;
BOOL isDirectory; BOOL isDirectory;