mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-20 18:32:09 +00:00
fixup declaration of cmdQuit: to be oneway
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39068 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b45d3bc076
commit
d44f67f74d
5 changed files with 8 additions and 8 deletions
|
@ -150,7 +150,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
- (void) cmdPing: (id <CmdPing>)from
|
||||
sequence: (unsigned)num
|
||||
extra: (NSData*)data;
|
||||
- (void) cmdQuit: (NSInteger)sig;
|
||||
- (oneway void) cmdQuit: (NSInteger)sig;
|
||||
- (void) command: (NSData*)dat
|
||||
to: (NSString*)t
|
||||
from: (NSString*)f;
|
||||
|
@ -707,7 +707,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
[from cmdGnip: self sequence: num extra: nil];
|
||||
}
|
||||
|
||||
- (void) cmdQuit: (NSInteger)sig
|
||||
- (oneway void) cmdQuit: (NSInteger)sig
|
||||
{
|
||||
if (sig == tStatus && control != nil)
|
||||
{
|
||||
|
|
|
@ -98,7 +98,7 @@ static BOOL commandIsRepeat (NSString *string)
|
|||
return NO; // Not a client of the Command server
|
||||
}
|
||||
|
||||
- (void) cmdQuit: (NSInteger)sig
|
||||
- (oneway void) cmdQuit: (NSInteger)sig
|
||||
{
|
||||
[timer invalidate];
|
||||
timer = nil;
|
||||
|
|
|
@ -342,7 +342,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
- (void) cmdPing: (id <CmdPing>)from
|
||||
sequence: (unsigned)num
|
||||
extra: (NSData*)data;
|
||||
- (void) cmdQuit: (NSInteger)status;
|
||||
- (oneway void) cmdQuit: (NSInteger)status;
|
||||
- (void) command: (NSData*)dat
|
||||
from: (NSString*)f;
|
||||
- (BOOL) connection: (NSConnection*)ancestor
|
||||
|
@ -494,7 +494,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
[from cmdGnip: self sequence: num extra: nil];
|
||||
}
|
||||
|
||||
- (void) cmdQuit: (NSInteger)status
|
||||
- (oneway void) cmdQuit: (NSInteger)status
|
||||
{
|
||||
[sink shutdown];
|
||||
exit (status);
|
||||
|
|
|
@ -713,7 +713,7 @@ extern NSString* cmdVersion(NSString *ver);
|
|||
* Subclasses should override this method to perform any pre-shutdown cleanup
|
||||
* before they call the superclass implementation.
|
||||
*/
|
||||
- (void) cmdQuit: (NSInteger)status;
|
||||
- (oneway void) cmdQuit: (NSInteger)status;
|
||||
|
||||
/** Returns non-zero (a signal) if the process has received a unix signal.
|
||||
*/
|
||||
|
@ -879,7 +879,7 @@ extern NSString* cmdVersion(NSString *ver);
|
|||
/** Should be over-ridden to perform extra tidy up on shutdown of the
|
||||
* process - should call [super cmdQuit:...] at the end of the method.
|
||||
*/
|
||||
- (void) cmdQuit: (NSInteger)status;
|
||||
- (oneway void) cmdQuit: (NSInteger)status;
|
||||
|
||||
/** Used to tell your application about configuration changes (the
|
||||
* default implementation merges the configuration change into the
|
||||
|
|
|
@ -3630,7 +3630,7 @@ With two parameters ('maximum' and a number),\n\
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
- (void) cmdQuit: (NSInteger)status
|
||||
- (oneway void) cmdQuit: (NSInteger)status
|
||||
{
|
||||
if (reservedPipe[1] > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue