diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-20 11:01:52 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-20 11:01:52 +0000 |
commit | 1f3177c858ddbd3d0b9782d8f775c356b8a181fc (patch) | |
tree | f32d32a0b50b409e227295f0ec1c60f9287b5b47 /dmake/quit.c | |
parent | a363b5b67cb62e399b7ffed4ec2208d4d91d79e0 (diff) |
INTEGRATION: CWS dmake43p01 (1.4.6); FILE MERGED
2006/02/02 04:39:55 vq 1.4.6.2: #i47919# Use the correct handler function for the signal() handling.
2006/01/30 20:28:18 vq 1.4.6.1: #i61390# Add some missing prototypes to dmake/unix/cygwin/public.h and
also revert the copyright disclaimer to the original version. This file
is supposed to be auto generated and identical to:
dmake/unix/linux/gnu/cygwin/public.h.
Diffstat (limited to 'dmake/quit.c')
-rw-r--r-- | dmake/quit.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/dmake/quit.c b/dmake/quit.c index f78c1a972006..31670ef6ae1a 100644 --- a/dmake/quit.c +++ b/dmake/quit.c @@ -1,6 +1,6 @@ /* $RCSfile: quit.c,v $ --- $Revision: 1.4 $ --- last change: $Author: rt $ $Date: 2004-09-08 16:07:13 $ +-- $Revision: 1.5 $ +-- last change: $Author: hr $ $Date: 2006-04-20 12:01:52 $ -- -- SYNOPSIS -- End the dmake session. @@ -32,8 +32,9 @@ static int _dont_quit = 0; PUBLIC void -Quit()/* +Quit( sig )/* ======== Error or quit */ +int sig; { if( _dont_quit ) return; @@ -50,7 +51,11 @@ Quit()/* } -const int in_quit( void ) +PUBLIC const int +in_quit( void )/* +================= + Called to check if we are already quitting. + (Only used in unix/runargv.c.) */ { return _dont_quit; } |