mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										3
									
								
								job.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								job.c
									
									
									
									
									
								
							@@ -36,6 +36,7 @@ static void	job_read_callback(struct bufferevent *, void *);
 | 
				
			|||||||
static void	job_write_callback(struct bufferevent *, void *);
 | 
					static void	job_write_callback(struct bufferevent *, void *);
 | 
				
			||||||
static void	job_error_callback(struct bufferevent *, short, void *);
 | 
					static void	job_error_callback(struct bufferevent *, short, void *);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* A single job. */
 | 
				
			||||||
struct job {
 | 
					struct job {
 | 
				
			||||||
	enum {
 | 
						enum {
 | 
				
			||||||
		JOB_RUNNING,
 | 
							JOB_RUNNING,
 | 
				
			||||||
@@ -61,7 +62,7 @@ struct job {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* All jobs list. */
 | 
					/* All jobs list. */
 | 
				
			||||||
LIST_HEAD(joblist, job) all_jobs = LIST_HEAD_INITIALIZER(all_jobs);
 | 
					static LIST_HEAD(joblist, job) all_jobs = LIST_HEAD_INITIALIZER(all_jobs);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Start a job running, if it isn't already. */
 | 
					/* Start a job running, if it isn't already. */
 | 
				
			||||||
struct job *
 | 
					struct job *
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user