[BACK]Return to job.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/job.c between version 1.7 and 1.8

version 1.7, 2009/10/21 07:24:23 version 1.8, 2009/10/21 18:20:16
Line 48 
Line 48 
         RB_INIT(jobs);          RB_INIT(jobs);
 }  }
   
 /* Count the number of jobs in a tree. */  
 u_int  
 job_tree_size(struct jobs *jobs)  
 {  
         struct job      *job;  
         u_int            n;  
   
         n = 0;  
         RB_FOREACH(job, jobs, jobs)  
                 n++;  
         return (n);  
 }  
   
 /* Destroy a job tree. */  /* Destroy a job tree. */
 void  void
 job_tree_free(struct jobs *jobs)  job_tree_free(struct jobs *jobs)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8