Sync OpenBSD patchset 431:

Remove unused function.
This commit is contained in:
Tiago Cunha
2009-10-23 17:27:40 +00:00
parent d7d4d7830b
commit 31552722a8
2 changed files with 2 additions and 16 deletions

15
job.c
View File

@ -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)