Diff for /src/usr.sbin/cron/cron/job.c between versions 1.3 and 1.4

version 1.3, 2003/11/16 11:51:14 version 1.4, 2004/03/10 18:27:26
Line 32  static job *jhead = NULL, *jtail = NULL; Line 32  static job *jhead = NULL, *jtail = NULL;
   
   
 void  void
job_add(register entry *e, register user *u)job_add(entry *e, user *u)
 {  {
        register job *j;        job *j;
   
         /* if already on queue, keep going */          /* if already on queue, keep going */
         for (j=jhead; j; j=j->next)          for (j=jhead; j; j=j->next)
Line 57  job_add(register entry *e, register user Line 57  job_add(register entry *e, register user
 int  int
 job_runqueue(void)  job_runqueue(void)
 {  {
        register job        *j, *jn;        job *j, *jn;
        register int        run = 0;        int run = 0;
   
         for (j=jhead; j; j=jn) {          for (j=jhead; j; j=jn) {
                 do_command(j->e, j->u);                  do_command(j->e, j->u);

Removed from v.1.3  
changed lines
  Added in v.1.4