Merge branch 'obsd-master'

pull/1450/merge
Thomas Adam 2018-08-23 21:02:36 +01:00
commit 45841400f2
1 changed files with 2 additions and 1 deletions

3
job.c
View File

@ -36,6 +36,7 @@ static void job_read_callback(struct bufferevent *, void *);
static void job_write_callback(struct bufferevent *, void *);
static void job_error_callback(struct bufferevent *, short, void *);
/* A single job. */
struct job {
enum {
JOB_RUNNING,
@ -61,7 +62,7 @@ struct job {
};
/* 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. */
struct job *