aboutsummaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-23 17:27:40 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-23 17:27:40 +0000
commit31552722a8415163606e5ce0451290e4bf773243 (patch)
tree0dcbee7277b030f6e3ac46598436ce86e8b5100c /job.c
parentd7d4d7830b734934604a76ad79261217d2dcfe6c (diff)
downloadrtmux-31552722a8415163606e5ce0451290e4bf773243.tar.gz
rtmux-31552722a8415163606e5ce0451290e4bf773243.tar.bz2
rtmux-31552722a8415163606e5ce0451290e4bf773243.zip
Sync OpenBSD patchset 431:
Remove unused function.
Diffstat (limited to 'job.c')
-rw-r--r--job.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/job.c b/job.c
index 00c73d91..3b735840 100644
--- a/job.c
+++ b/job.c
@@ -1,4 +1,4 @@
-/* $Id: job.c,v 1.7 2009-10-21 07:37:11 nicm Exp $ */
+/* $Id: job.c,v 1.8 2009-10-23 17:27:40 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -47,19 +47,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)