summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd
diff options
context:
space:
mode:
authorMartin Hedenfal <martinh@cvs.openbsd.org>2010-06-08 17:52:48 +0000
committerMartin Hedenfal <martinh@cvs.openbsd.org>2010-06-08 17:52:48 +0000
commit194ec6db6e3859716ac71f22ced61707190d1265 (patch)
tree8c9f8f89a5acc64a6caa64a9efd69ac4af35a8bb /usr.sbin/ldapd
parentbb98f5d4196828394348b3094a8df0b5e8aeffb7 (diff)
ber_calc_len() is not an internal function, so adjust the comment.
from Dawe
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r--usr.sbin/ldapd/ber.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ldapd/ber.c b/usr.sbin/ldapd/ber.c
index f6662c75eae..936132cbeb0 100644
--- a/usr.sbin/ldapd/ber.c
+++ b/usr.sbin/ldapd/ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ber.c,v 1.2 2010/06/05 15:27:35 martinh Exp $ */
+/* $OpenBSD: ber.c,v 1.3 2010/06/08 17:52:47 martinh Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -823,10 +823,6 @@ ber_free_elements(struct ber_element *root)
free(root);
}
-/*
- * internal functions
- */
-
size_t
ber_calc_len(struct ber_element *root)
{
@@ -858,6 +854,10 @@ ber_calc_len(struct ber_element *root)
return (root->be_len + size);
}
+/*
+ * internal functions
+ */
+
static int
ber_dump_element(struct ber *ber, struct ber_element *root)
{