summaryrefslogtreecommitdiff
path: root/usr.sbin/ypldap/ber.c
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/ypldap/ber.c
parentbb98f5d4196828394348b3094a8df0b5e8aeffb7 (diff)
ber_calc_len() is not an internal function, so adjust the comment.
from Dawe
Diffstat (limited to 'usr.sbin/ypldap/ber.c')
-rw-r--r--usr.sbin/ypldap/ber.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ypldap/ber.c b/usr.sbin/ypldap/ber.c
index 5d4725a4825..84b167e3263 100644
--- a/usr.sbin/ypldap/ber.c
+++ b/usr.sbin/ypldap/ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ber.c,v 1.5 2010/02/24 14:09:45 jmc Exp $ */
+/* $OpenBSD: ber.c,v 1.6 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)
{