diff options
Diffstat (limited to 'crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c')
-rw-r--r-- | crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c b/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c index 2c8c2de96c83..97db44abc886 100644 --- a/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c +++ b/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c @@ -102,10 +102,7 @@ static int bt_rseq_prev(BTREE *, EPG *); * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key. */ int -__bt_seq(dbp, key, data, flags) - const DB *dbp; - DBT *key, *data; - u_int flags; +__bt_seq(const DB *dbp, DBT *key, DBT *data, u_int flags) { BTREE *t; EPG e; @@ -179,11 +176,7 @@ __bt_seq(dbp, key, data, flags) * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key. */ static int -__bt_seqset(t, ep, key, flags) - BTREE *t; - EPG *ep; - DBT *key; - int flags; +__bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags) { PAGE *h; db_pgno_t pg; @@ -273,10 +266,7 @@ __bt_seqset(t, ep, key, flags) * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key. */ static int -__bt_seqadv(t, ep, flags) - BTREE *t; - EPG *ep; - int flags; +__bt_seqadv(BTREE *t, EPG *ep, int flags) { CURSOR *c; PAGE *h; @@ -495,11 +485,7 @@ bt_rseq_prev(BTREE *t, EPG *ep) * or RET_SPECIAL if no such key exists. */ static int -__bt_first(t, key, erval, exactp) - BTREE *t; - const DBT *key; - EPG *erval; - int *exactp; +__bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp) { PAGE *h, *hprev; EPG *ep, save; @@ -596,10 +582,7 @@ __bt_first(t, key, erval, exactp) * index: page index */ void -__bt_setcur(t, pgno, idx) - BTREE *t; - db_pgno_t pgno; - u_int idx; +__bt_setcur(BTREE *t, db_pgno_t pgno, u_int idx) { /* Lose any already deleted key. */ if (t->bt_cursor.key.data != NULL) { |