declare constant strings as constant, and move values from source files into externs.m

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
arobert 2004-09-19 23:19:53 +00:00
parent fabb191ef1
commit 24c11fe90e
13 changed files with 69 additions and 55 deletions

View file

@ -118,14 +118,14 @@ GS_EXPORT void GSUnregisterCurrentThread (void);
* can assume the application is in single-threaded mode and locks are not
* necessary. Afterwards multiple threads <em>may</em> be running.
*/
GS_EXPORT NSString *NSWillBecomeMultiThreadedNotification;
GS_EXPORT NSString* const NSWillBecomeMultiThreadedNotification;
#define NSBecomingMultiThreaded NSWillBecomeMultiThreadedNotification
/**
* Notification posted when an [NSThread] instance receives an exit message,
* or an external thread has been deregistered.
*/
GS_EXPORT NSString *NSThreadWillExitNotification;
GS_EXPORT NSString* const NSThreadWillExitNotification;
#define NSThreadExiting NSThreadWillExitNotification
#ifndef NO_GNUSTEP
@ -134,7 +134,7 @@ GS_EXPORT NSString *NSThreadWillExitNotification;
* Notification posted whenever a new thread is started up. This is a
* GNUstep extension.
*/
GS_EXPORT NSString *NSThreadDidStartNotification;
GS_EXPORT NSString* const NSThreadDidStartNotification;
/*
* Get current thread and it's dictionary.