=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/job.c,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/tmux/job.c 2011/01/23 11:03:43 1.23 --- src/usr.bin/tmux/job.c 2011/01/26 00:11:47 1.24 *************** *** 1,4 **** ! /* $OpenBSD: job.c,v 1.23 2011/01/23 11:03:43 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: job.c,v 1.24 2011/01/26 00:11:47 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 32,38 **** */ /* All jobs list. */ ! struct joblist all_jobs = SLIST_HEAD_INITIALIZER(all_jobs); RB_GENERATE(jobs, job, entry, job_cmp); --- 32,38 ---- */ /* All jobs list. */ ! struct joblist all_jobs = LIST_HEAD_INITIALIZER(all_jobs); RB_GENERATE(jobs, job, entry, job_cmp); *************** *** 99,105 **** if (jobs != NULL) RB_INSERT(jobs, jobs, job); ! SLIST_INSERT_HEAD(&all_jobs, job, lentry); return (job); } --- 99,105 ---- if (jobs != NULL) RB_INSERT(jobs, jobs, job); ! LIST_INSERT_HEAD(&all_jobs, job, lentry); return (job); } *************** *** 119,125 **** { job_kill(job); ! SLIST_REMOVE(&all_jobs, job, job, lentry); xfree(job->cmd); if (job->freefn != NULL && job->data != NULL) --- 119,125 ---- { job_kill(job); ! LIST_REMOVE(job, lentry); xfree(job->cmd); if (job->freefn != NULL && job->data != NULL)