avoid obsolete include

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29667 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-02-18 16:27:32 +00:00
parent 47810e15de
commit 4d95ad4f42
11 changed files with 5 additions and 23 deletions

View file

@ -115,20 +115,8 @@ GS_EXPORT void NSDecimalFromComponents(NSDecimal *result,
unsigned long long mantissa, unsigned long long mantissa,
short exponent, BOOL negative); short exponent, BOOL negative);
GS_EXPORT BOOL GSDebugSet(NSString *level);
GS_EXPORT NSThread *GSCurrentThread(void);
GS_EXPORT NSMutableDictionary *GSCurrentThreadDictionary(void);
GS_EXPORT NSString *GSDebugMethodMsg(id obj, SEL sel, const char *file,
int line, NSString *fmt);
GS_EXPORT NSString *GSDebugFunctionMsg(const char *func, const char *file,
int line, NSString *fmt);
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */ #endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#include <GNUstepBase/NSTask+GS.h>
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif

View file

@ -34,7 +34,6 @@
#import "GNUstepBase/GSObjCRuntime.h" #import "GNUstepBase/GSObjCRuntime.h"
#import "GNUstepBase/GCObject.h" #import "GNUstepBase/GCObject.h"
#import "GNUstepBase/GSCategories.h"
typedef struct { typedef struct {
id object; id object;

View file

@ -39,7 +39,6 @@
#endif #endif
#import "GNUstepBase/GCObject.h" #import "GNUstepBase/GCObject.h"
#import "GNUstepBase/GSCategories.h"
#include <pthread.h> #include <pthread.h>

View file

@ -35,7 +35,6 @@
#import "Foundation/NSKeyedArchiver.h" #import "Foundation/NSKeyedArchiver.h"
#import "GNUstepBase/GSObjCRuntime.h" #import "GNUstepBase/GSObjCRuntime.h"
#import "GNUstepBase/GSCategories.h"
/* /*

View file

@ -33,7 +33,6 @@
#import "Foundation/NSThread.h" #import "Foundation/NSThread.h"
#import "GNUstepBase/GSLock.h" #import "GNUstepBase/GSLock.h"
#import "GNUstepBase/GNUstep.h" #import "GNUstepBase/GNUstep.h"
#import "GNUstepBase/GSCategories.h"
/** /**
* This implements a class which, when used in single-threaded mode, * This implements a class which, when used in single-threaded mode,

View file

@ -50,7 +50,6 @@
#endif #endif
#import "GNUstepBase/GSObjCRuntime.h" #import "GNUstepBase/GSObjCRuntime.h"
#import "GNUstepBase/GNUstep.h" #import "GNUstepBase/GNUstep.h"
#import "GNUstepBase/GSCategories.h"
#import "../GSPrivate.h" #import "../GSPrivate.h"

View file

@ -42,7 +42,6 @@
#import "config.h" #import "config.h"
#import "GNUstepBase/preface.h" #import "GNUstepBase/preface.h"
#import "GNUstepBase/GSCategories.h"
#import "GNUstepBase/Unicode.h" #import "GNUstepBase/Unicode.h"

View file

@ -29,7 +29,7 @@
/** /**
* Extension methods for the NSCalendarDate class * Extension methods for the NSCalendarDate class
*/ */
@implementation NSCalendarDate (GSCategories) @implementation NSCalendarDate (GNUstepBase)
/** /**
* The ISO standard week of the year is based on the first week of the * The ISO standard week of the year is based on the first week of the

View file

@ -35,7 +35,7 @@
* GNUstep specific (non-standard) additions to the NSError class. * GNUstep specific (non-standard) additions to the NSError class.
* Possibly to be made public * Possibly to be made public
*/ */
@implementation NSError(GSCategories) @implementation NSError(GNUstepBase)
#if !defined(__MINGW32__) #if !defined(__MINGW32__)

View file

@ -88,14 +88,14 @@ newLockAt(Class self, SEL _cmd, id *location)
} }
@implementation NSLock (GSCategories) @implementation NSLock (GNUstepBase)
+ (id) newLockAt: (id *)location + (id) newLockAt: (id *)location
{ {
return newLockAt(self, _cmd, location); return newLockAt(self, _cmd, location);
} }
@end @end
@implementation NSRecursiveLock (GSCategories) @implementation NSRecursiveLock (GNUstepBase)
+ (id) newLockAt: (id *)location + (id) newLockAt: (id *)location
{ {
return newLockAt(self, _cmd, location); return newLockAt(self, _cmd, location);

View file

@ -28,7 +28,7 @@
#import "Foundation/NSProcessInfo.h" #import "Foundation/NSProcessInfo.h"
#import "GNUstepBase/NSTask+GNUstepBase.h" #import "GNUstepBase/NSTask+GNUstepBase.h"
@implementation NSTask (GSCategories) @implementation NSTask (GNUstepBase)
static NSString* static NSString*
executablePath(NSFileManager *mgr, NSString *path) executablePath(NSFileManager *mgr, NSString *path)