Nuke prop_dictionary_capacity, there was no implementation for it.

No objections on tech-kern.
This commit is contained in:
mjf 2008-01-05 00:23:46 +00:00
parent 0c8143169b
commit 83535b7f11
2 changed files with 3 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: prop_dictionary.h,v 1.7 2007/08/16 16:28:17 thorpej Exp $ */
/* $NetBSD: prop_dictionary.h,v 1.8 2008/01/05 00:23:46 mjf Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -51,7 +51,6 @@ prop_dictionary_t prop_dictionary_create_with_capacity(unsigned int);
prop_dictionary_t prop_dictionary_copy(prop_dictionary_t);
prop_dictionary_t prop_dictionary_copy_mutable(prop_dictionary_t);
unsigned int prop_dictionary_capacity(prop_dictionary_t);
unsigned int prop_dictionary_count(prop_dictionary_t);
bool prop_dictionary_ensure_capacity(prop_dictionary_t,
unsigned int);

View File

@ -1,4 +1,4 @@
.\" $NetBSD: prop_dictionary.3,v 1.9 2007/10/11 03:10:28 xtraeme Exp $
.\" $NetBSD: prop_dictionary.3,v 1.10 2008/01/05 00:23:46 mjf Exp $
.\"
.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd October 11, 2007
.Dd January 4, 2008
.Dt PROP_DICTIONARY 3
.Os
.Sh NAME
@ -43,7 +43,6 @@
.Nm prop_dictionary_create_with_capacity ,
.Nm prop_dictionary_copy ,
.Nm prop_dictionary_copy_mutable ,
.Nm prop_dictionary_capacity ,
.Nm prop_dictionary_count ,
.Nm prop_dictionary_ensure_capacity ,
.Nm prop_dictionary_iterator ,
@ -80,8 +79,6 @@
.Fn prop_dictionary_copy_mutable "prop_dictionary_t dict"
.\"
.Ft unsigned int
.Fn prop_dictionary_capacity "prop_dictionary_t dict"
.Ft unsigned int
.Fn prop_dictionary_count "prop_dictionary_t dict"
.Ft bool
.Fn prop_dictionary_ensure_capacity "prop_dictionary_t dict" \
@ -162,9 +159,6 @@ immutable.
Like
.Fn prop_dictionary_copy ,
except the resulting dictionary is always mutable.
.It Fn prop_dictionary_capacity "prop_dictionary_t dict"
Returns the total capacity of the dictionary, including objects already stored
in the dictionary.
.It Fn prop_dictionary_count "prop_dictionary_t dict"
Returns the number of objects stored in the dictionary.
.It Fn prop_dictionary_ensure_capacity "prop_dictionary_t dict"