summaryrefslogtreecommitdiff
path: root/common/include
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2007-08-30 12:23:53 +0000
committerjoerg <joerg@NetBSD.org>2007-08-30 12:23:53 +0000
commit4deb593145a6d95f78a080aefb8cfc760bcddac9 (patch)
tree798627c927bc10e7c4639b8f24a47fcdaf82600a /common/include
parentebcc6a8e1aa8ec2e8fd237a3d1512d620918c753 (diff)
Avoid using unbound amount of stack frames in prop_object_equal
by using a dynamic stack as well. Reorder arguments for the internalizer as the iteration is always present and should go before possibly NULL arguments. Reviewed by mjf@ and adrianp@
Diffstat (limited to 'common/include')
-rw-r--r--common/include/prop/prop_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/include/prop/prop_object.h b/common/include/prop/prop_object.h
index 2874c12f65e..c6b91c4489b 100644
--- a/common/include/prop/prop_object.h
+++ b/common/include/prop/prop_object.h
@@ -1,4 +1,4 @@
-/* $NetBSD: prop_object.h,v 1.5 2007/08/16 16:28:17 thorpej Exp $ */
+/* $NetBSD: prop_object.h,v 1.6 2007/08/30 12:23:53 joerg Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -65,6 +65,7 @@ void prop_object_release(prop_object_t);
prop_type_t prop_object_type(prop_object_t);
bool prop_object_equals(prop_object_t, prop_object_t);
+bool prop_object_equals_with_error(prop_object_t, prop_object_t, bool *);
typedef struct _prop_object_iterator *prop_object_iterator_t;