summaryrefslogtreecommitdiffstats
path: root/job.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-21 18:20:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-21 18:20:16 +0000
commita22c06a2d6fddd0dda33219ef79b5b646fc973b9 (patch)
tree174cc026f11ff562559cc0d3ac5b96b26e1fea57 /job.c
parent9a4855295b9116e9bfe9003ec480e6bc27826bc7 (diff)
Remove unused function.
Diffstat (limited to 'job.c')
-rw-r--r--job.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/job.c b/job.c
index dea37784..93ff0644 100644
--- a/job.c
+++ b/job.c
@@ -48,19 +48,6 @@ job_tree_init(struct jobs *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. */
void
job_tree_free(struct jobs *jobs)