diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-03-02 23:47:18 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-03-02 23:47:18 +0000 |
commit | 0ac22237f12015101ffe02a37786a092603c1f03 (patch) | |
tree | 5a67c3be623d7be485fac882eb4ef91bd1e65262 /lib/libc/db/btree/bt_utils.c | |
parent | f86bce5ed03f2a4c30a04c29b51624e69c30d8c7 (diff) | |
download | src-0ac22237f12015101ffe02a37786a092603c1f03.tar.gz src-0ac22237f12015101ffe02a37786a092603c1f03.zip |
Diff reduction against OpenBSD: ANSI'fy prototypes.
(This is part of a larger changeset which is intended to reduce diff only,
thus some prototypes were left intact since they will be changed in the
future).
Verified with: md5(1)
Notes
Notes:
svn path=/head/; revision=189291
Diffstat (limited to 'lib/libc/db/btree/bt_utils.c')
-rw-r--r-- | lib/libc/db/btree/bt_utils.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/lib/libc/db/btree/bt_utils.c b/lib/libc/db/btree/bt_utils.c index e32854f20efc..932110650e0d 100644 --- a/lib/libc/db/btree/bt_utils.c +++ b/lib/libc/db/btree/bt_utils.c @@ -62,11 +62,7 @@ __FBSDID("$FreeBSD$"); * RET_SUCCESS, RET_ERROR. */ int -__bt_ret(t, e, key, rkey, data, rdata, copy) - BTREE *t; - EPG *e; - DBT *key, *rkey, *data, *rdata; - int copy; +__bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) { BLEAF *bl; void *p; @@ -148,10 +144,7 @@ dataonly: * > 0 if k1 is > record */ int -__bt_cmp(t, k1, e) - BTREE *t; - const DBT *k1; - EPG *e; +__bt_cmp(BTREE *t, const DBT *k1, EPG *e) { BINTERNAL *bi; BLEAF *bl; @@ -211,8 +204,7 @@ __bt_cmp(t, k1, e) * > 0 if a is > b */ int -__bt_defcmp(a, b) - const DBT *a, *b; +__bt_defcmp(const DBT *a, const DBT *b) { size_t len; u_char *p1, *p2; @@ -241,8 +233,7 @@ __bt_defcmp(a, b) * Number of bytes needed to distinguish b from a. */ size_t -__bt_defpfx(a, b) - const DBT *a, *b; +__bt_defpfx(const DBT *a, const DBT *b) { u_char *p1, *p2; size_t cnt, len; |