summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/btree/bt_search.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-03-02 23:47:18 +0000
committerdelphij <delphij@FreeBSD.org>2009-03-02 23:47:18 +0000
commit7fd77a056c7750353e5b351f39749ba813255b32 (patch)
tree5a67c3be623d7be485fac882eb4ef91bd1e65262 /lib/libc/db/btree/bt_search.c
parent63f98fcc6a46518f1e430026c32dd9c31dff0a84 (diff)
downloadFreeBSD-src-7fd77a056c7750353e5b351f39749ba813255b32.zip
FreeBSD-src-7fd77a056c7750353e5b351f39749ba813255b32.tar.gz
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)
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 9413e6e..73c0ffe 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;
OpenPOWER on IntegriCloud