diff options
-rw-r--r-- | dmake/win95/microsft/vpp40/runargv.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dmake/win95/microsft/vpp40/runargv.c b/dmake/win95/microsft/vpp40/runargv.c index fab9258d6d61..c48285913dbf 100644 --- a/dmake/win95/microsft/vpp40/runargv.c +++ b/dmake/win95/microsft/vpp40/runargv.c @@ -128,14 +128,13 @@ int pid; PUBLIC void Clean_up_processes() { - register int i; - - if( _procs != NIL(PR) ) { - for( i=0; i<Max_proc; i++ ) - if( _procs[i].pr_valid ) - kill(_procs[i].pr_pid, SIGTERM); - - while( Wait_for_child(TRUE, -1) != -1 ); + if( _procs != NIL(PR) ) + { + register int i; + for( i=0; i<Max_proc; i++ ) + if( _procs[i].pr_valid ) + kill(_procs[i].pr_pid, SIGTERM); + while( Wait_for_child(TRUE, -1) != -1 ); } } |