diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-06-04 18:03:08 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-06-04 18:03:08 +0000 |
commit | a1c8875943bfee04067cf1a3c6b601172beddb96 (patch) | |
tree | b423a861c19dca27a23918bf63954b42461be09b | |
parent | dc2a5f8fdece851b3e64452ace3e82fcdddba5e8 (diff) |
Make the types of ber_read() decl match the prototype.
'looks good' pyr@
-rw-r--r-- | usr.sbin/snmpd/ber.c | 4 | ||||
-rw-r--r-- | usr.sbin/ypldap/ber.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/snmpd/ber.c b/usr.sbin/snmpd/ber.c index fba0b25c3a9..7fa77082769 100644 --- a/usr.sbin/snmpd/ber.c +++ b/usr.sbin/snmpd/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.16 2009/01/03 18:41:41 aschrijver Exp $ */ +/* $OpenBSD: ber.c,v 1.17 2009/06/04 18:03:07 jsg Exp $ */ /* * Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net> @@ -1227,7 +1227,7 @@ ber_getc(struct ber *b, u_char *c) } static ssize_t -ber_read(struct ber *ber, void *buf, unsigned long len) +ber_read(struct ber *ber, void *buf, size_t len) { u_char *b = buf; ssize_t r, remain = len; diff --git a/usr.sbin/ypldap/ber.c b/usr.sbin/ypldap/ber.c index 0a24eb09076..c6d3ceb4acd 100644 --- a/usr.sbin/ypldap/ber.c +++ b/usr.sbin/ypldap/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.1 2008/09/30 16:24:16 aschrijver Exp $ */ +/* $OpenBSD: ber.c,v 1.2 2009/06/04 18:03:07 jsg Exp $ */ /* * Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net> @@ -1227,7 +1227,7 @@ ber_getc(struct ber *b, u_char *c) } static ssize_t -ber_read(struct ber *ber, void *buf, unsigned long len) +ber_read(struct ber *ber, void *buf, size_t len) { u_char *b = buf; ssize_t r, remain = len; |