From 3941e90b879e925d0fef8f0733e1d9c2e1861db5 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 15 Feb 1999 05:11:26 +0000 Subject: 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 --- lib/libc/db/recno/rec_close.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/libc/db/recno/rec_close.c') 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 @@ -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); -- cgit v1.2.3