for (vers = start; vers != NULL; vers = vers->next) { for (proc = vers->procs; proc != NULL; proc = proc->next) { if (proc == stop) { return (0); } else if (streq(proc->proc_name, stop->proc_name)) { return (1); } }
for (vers = start; vers != NULL; vers = vers->next) { for (proc = vers->procs; proc != NULL; proc = proc->next) { if (proc == stop) { return 0; } else if (streq (proc->proc_name, stop->proc_name)) { return 1; }
define_printed(proc_list *stop, version_list *start){	version_list *vers;	proc_list *proc;	for (vers = start; vers != NULL; vers = vers->next) {		for (proc = vers->procs; proc != NULL; proc = proc->next) {			if (proc == stop) {				return (0);			} else if (streq(proc->proc_name, stop->proc_name)) {				return (1);			}		}	}	abort();	/* NOTREACHED */}