diff --git a/job.c b/job.c index 9213eb73..5ddea760 100644 --- a/job.c +++ b/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_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 *