=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pmdb/Attic/process.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/pmdb/Attic/process.c 2002/06/09 02:44:13 1.4 --- src/usr.bin/pmdb/Attic/process.c 2002/06/09 04:33:42 1.5 *************** *** 1,4 **** ! /* $OpenBSD: process.c,v 1.4 2002/06/09 02:44:13 todd Exp $ */ /* * Copyright (c) 2002 Artur Grabowski * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: process.c,v 1.5 2002/06/09 04:33:42 fgsch Exp $ */ /* * Copyright (c) 2002 Artur Grabowski * All rights reserved. *************** *** 91,97 **** if (wait(&status) == 0) err(1, "wait"); ! return 0; } int --- 91,97 ---- if (wait(&status) == 0) err(1, "wait"); ! return (0); } int *************** *** 103,111 **** case STOPPED: if (ptrace(PT_KILL, ps->ps_pid, NULL, 0) != 0) err(1, "ptrace(PT_KILL)"); ! return 1; default: ! return 0; } } --- 103,111 ---- case STOPPED: if (ptrace(PT_KILL, ps->ps_pid, NULL, 0) != 0) err(1, "ptrace(PT_KILL)"); ! return (1); default: ! return (0); } } *************** *** 116,122 **** process_kill(ps); ! return 1; } int --- 116,122 ---- process_kill(ps); ! return (1); } int *************** *** 124,130 **** { sym_update(ps); ! return BKPT_DEL_CONT; } int --- 124,130 ---- { sym_update(ps); ! return (BKPT_DEL_CONT); } int *************** *** 144,150 **** if (ps->ps_state != LOADED) { fprintf(stderr, "Process already running.\n"); ! return 0; } /* --- 144,150 ---- if (ps->ps_state != LOADED) { fprintf(stderr, "Process already running.\n"); ! return (0); } /*