diff options
author | Thomas Adam <thomas@xteddy.org> | 2018-08-23 21:02:36 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2018-08-23 21:02:36 +0100 |
commit | 45841400f2e5de5c61e415a3cf83339dfa387adb (patch) | |
tree | cd4ad0fce5d4b9246da349c1d6c03f62e1c10c69 /job.c | |
parent | da5d5633757ac01fbeb42bf763415ba2314b82dd (diff) | |
parent | f38b5a1b5860f7e6b1d26006a07cfc01cdc79421 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 * |