summaryrefslogtreecommitdiff
path: root/lib/libc/db/btree/bt_get.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-03-23 19:35:00 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-03-23 19:35:00 +0000
commit1a88b22742a7df6205d19a7ecf78aba3eda53a16 (patch)
treea45ce9ebf2f99c9486e0f0e47d77fa69a6265ccc /lib/libc/db/btree/bt_get.c
parent68d8bc8b8c8f1e4de98ae6f483ac210dfdf13420 (diff)
ansify. ok deraadt@ moritz@
Diffstat (limited to 'lib/libc/db/btree/bt_get.c')
-rw-r--r--lib/libc/db/btree/bt_get.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/db/btree/bt_get.c b/lib/libc/db/btree/bt_get.c
index 34fb7185abd..9563d6be6dc 100644
--- a/lib/libc/db/btree/bt_get.c
+++ b/lib/libc/db/btree/bt_get.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bt_get.c,v 1.6 2003/06/02 20:18:33 millert Exp $ */
+/* $OpenBSD: bt_get.c,v 1.7 2005/03/23 19:34:58 otto Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "@(#)bt_get.c 8.6 (Berkeley) 7/20/94";
#else
-static const char rcsid[] = "$OpenBSD: bt_get.c,v 1.6 2003/06/02 20:18:33 millert Exp $";
+static const char rcsid[] = "$OpenBSD: bt_get.c,v 1.7 2005/03/23 19:34:58 otto Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -62,11 +62,7 @@ static const char rcsid[] = "$OpenBSD: bt_get.c,v 1.6 2003/06/02 20:18:33 miller
* RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found.
*/
int
-__bt_get(dbp, key, data, flags)
- const DB *dbp;
- const DBT *key;
- DBT *data;
- u_int flags;
+__bt_get(const DB *dbp, const DBT *key, DBT *data, u_int flags)
{
BTREE *t;
EPG *e;