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:
alexm 2003-09-04 16:44:37 +00:00
parent c8e8f215fc
commit a77ee7fab9
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>
* configure.ac: Check for tzset

View file

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

View file

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