summaryrefslogtreecommitdiff
path: root/lib/libc/db/recno/rec_close.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-15 05:11:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-15 05:11:26 +0000
commit3941e90b879e925d0fef8f0733e1d9c2e1861db5 (patch)
tree82b3c2fe01e0932c532b9e2a3f038a110315707d /lib/libc/db/recno/rec_close.c
parent0584840a66631455c4c44387526ce706056faee0 (diff)
o Minor changes from db.1.86 (sleepycat). Does not include the new hash
routines since they cannot read a hashed .db file from the old code. Most of these files just have their RCS/SCCS tags standardized. Note that mpool.3 has not been updated to reflect the new mpool interface. o Add a real dbm(3) manpage
Diffstat (limited to 'lib/libc/db/recno/rec_close.c')
-rw-r--r--lib/libc/db/recno/rec_close.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/db/recno/rec_close.c b/lib/libc/db/recno/rec_close.c
index 88aea2e7583..c621e038b50 100644
--- a/lib/libc/db/recno/rec_close.c
+++ b/lib/libc/db/recno/rec_close.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: rec_close.c,v 1.6 1999/02/15 05:11:25 millert Exp $ */
+
/*-
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
@@ -32,7 +34,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: rec_close.c,v 1.5 1998/03/19 00:29:58 millert Exp $";
+#if 0
+static char sccsid[] = "@(#)rec_close.c 8.6 (Berkeley) 8/18/94";
+#else
+static char rcsid[] = "$OpenBSD: rec_close.c,v 1.6 1999/02/15 05:11:25 millert Exp $";
+#endif
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -155,7 +161,7 @@ __rec_sync(dbp, flags)
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
}
} else {
- iov[1].iov_base = (char *) &t->bt_bval;
+ iov[1].iov_base = (void *) &t->bt_bval;
iov[1].iov_len = 1;
status = (dbp->seq)(dbp, &key, &data, R_FIRST);