=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/job.c,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/make/job.c 2000/02/01 03:23:32 1.23 --- src/usr.bin/make/job.c 2000/03/26 16:08:27 1.24 *************** *** 1,4 **** ! /* $OpenBSD: job.c,v 1.23 2000/02/01 03:23:32 deraadt Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: job.c,v 1.24 2000/03/26 16:08:27 espie Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* *************** *** 43,49 **** #if 0 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: job.c,v 1.23 2000/02/01 03:23:32 deraadt Exp $"; #endif #endif /* not lint */ --- 43,49 ---- #if 0 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: job.c,v 1.24 2000/03/26 16:08:27 espie Exp $"; #endif #endif /* not lint */ *************** *** 299,305 **** static int JobSaveCommand __P((ClientData, ClientData)); static void JobClose __P((Job *)); #ifdef REMOTE ! static int JobCmpRmtID __P((Job *, int)); # ifdef RMT_WILL_WATCH static void JobLocalInput __P((int, Job *)); # endif --- 299,305 ---- static int JobSaveCommand __P((ClientData, ClientData)); static void JobClose __P((Job *)); #ifdef REMOTE ! static int JobCmpRmtID __P((Job *, ClientData)); # ifdef RMT_WILL_WATCH static void JobLocalInput __P((int, Job *)); # endif *************** *** 479,485 **** ClientData job; /* job to examine */ ClientData rmtID; /* remote id desired */ { ! return(*(int *) rmtID - *(int *) job->rmtID); } #endif --- 479,485 ---- ClientData job; /* job to examine */ ClientData rmtID; /* remote id desired */ { ! return *(int *) rmtID - *(int *) job->rmtID; } #endif *************** *** 3088,3097 **** (void) fprintf(stdout, "JobFlagForMigration(%d) called.\n", hostID); (void) fflush(stdout); } ! jnode = Lst_Find(jobs, JobCmpRmtID, (ClientData)hostID); if (jnode == NULL) { ! jnode = Lst_Find(stoppedJobs, JobCmpRmtID, (ClientData)hostID); if (jnode == NULL) { if (DEBUG(JOB)) { Error("Evicting host(%d) not in table", hostID); --- 3088,3097 ---- (void) fprintf(stdout, "JobFlagForMigration(%d) called.\n", hostID); (void) fflush(stdout); } ! jnode = Lst_Find(jobs, JobCmpRmtID, (ClientData)&hostID); if (jnode == NULL) { ! jnode = Lst_Find(stoppedJobs, JobCmpRmtID, (ClientData)&hostID); if (jnode == NULL) { if (DEBUG(JOB)) { Error("Evicting host(%d) not in table", hostID);