summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/job.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-21 18:20:17 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-21 18:20:17 +0000
commitde87ce08d2cfb78f17463278c42af6590de96a88 (patch)
tree43acc79c0c6271311c71e76f96de90bcb9ede5ac /usr.bin/tmux/job.c
parent83e3c0784947f6837ab7bb1944998c0c40cbb527 (diff)
Remove unused function.
Diffstat (limited to 'usr.bin/tmux/job.c')
-rw-r--r--usr.bin/tmux/job.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/tmux/job.c b/usr.bin/tmux/job.c
index 9f8e39375fe..0d6479cabac 100644
--- a/usr.bin/tmux/job.c
+++ b/usr.bin/tmux/job.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: job.c,v 1.7 2009/10/21 07:24:23 nicm Exp $ */
+/* $OpenBSD: job.c,v 1.8 2009/10/21 18:20:16 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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)