summaryrefslogtreecommitdiff
path: root/lib/libc/db/db/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/db/db.c')
-rw-r--r--lib/libc/db/db/db.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/db/db/db.c b/lib/libc/db/db/db.c
index 52d450f8ddd..779b86ddf47 100644
--- a/lib/libc/db/db/db.c
+++ b/lib/libc/db/db/db.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db.c,v 1.7 2003/06/02 20:18:33 millert Exp $ */
+/* $OpenBSD: db.c,v 1.8 2003/06/25 21:15:04 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -33,7 +33,7 @@
#if 0
static char sccsid[] = "@(#)db.c 8.4 (Berkeley) 2/21/94";
#else
-static const char rcsid[] = "$OpenBSD: db.c,v 1.7 2003/06/02 20:18:33 millert Exp $";
+static const char rcsid[] = "$OpenBSD: db.c,v 1.8 2003/06/25 21:15:04 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -46,6 +46,8 @@ static const char rcsid[] = "$OpenBSD: db.c,v 1.7 2003/06/02 20:18:33 millert Ex
#include <db.h>
+static int __dberr(void);
+
DB *
dbopen(fname, flags, mode, type, openinfo)
const char *fname;
@@ -76,7 +78,7 @@ dbopen(fname, flags, mode, type, openinfo)
}
static int
-__dberr()
+__dberr(void)
{
return (RET_ERROR);
}