aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/db/btree/bt_search.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-03-02 23:47:18 +0000
committerXin LI <delphij@FreeBSD.org>2009-03-02 23:47:18 +0000
commit0ac22237f12015101ffe02a37786a092603c1f03 (patch)
tree5a67c3be623d7be485fac882eb4ef91bd1e65262 /lib/libc/db/btree/bt_search.c
parentf86bce5ed03f2a4c30a04c29b51624e69c30d8c7 (diff)
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_search.c')
-rw-r--r--lib/libc/db/btree/bt_search.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/lib/libc/db/btree/bt_search.c b/lib/libc/db/btree/bt_search.c
index 9413e6e0641b..73c0ffe23b0b 100644
--- a/lib/libc/db/btree/bt_search.c
+++ b/lib/libc/db/btree/bt_search.c
@@ -61,10 +61,7 @@ static int __bt_sprev(BTREE *, PAGE *, const DBT *, int *);
* the bt_cur field of the tree. A pointer to the field is returned.
*/
EPG *
-__bt_search(t, key, exactp)
- BTREE *t;
- const DBT *key;
- int *exactp;
+__bt_search(BTREE *t, const DBT *key, int *exactp)
{
PAGE *h;
indx_t base, index, lim;
@@ -146,11 +143,7 @@ next: BT_PUSH(t, h->pgno, index);
* If an exact match found.
*/
static int
-__bt_snext(t, h, key, exactp)
- BTREE *t;
- PAGE *h;
- const DBT *key;
- int *exactp;
+__bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp)
{
EPG e;
@@ -185,11 +178,7 @@ __bt_snext(t, h, key, exactp)
* If an exact match found.
*/
static int
-__bt_sprev(t, h, key, exactp)
- BTREE *t;
- PAGE *h;
- const DBT *key;
- int *exactp;
+__bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp)
{
EPG e;