summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorimp <imp@cvs.openbsd.org>1999-02-16 21:21:05 +0000
committerimp <imp@cvs.openbsd.org>1999-02-16 21:21:05 +0000
commit73217ea06ff1f15439b31e83098915ae484d1db7 (patch)
treeb98c0db28f3b39849791f4ad60c4359d11c4ebd8 /lib/libc
parentdd4e633d7bffe1dd9630269ee528cfa842c6a1af (diff)
kludge to get rid of dbm_rdonly not being defined
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/db/hash/ndbm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/db/hash/ndbm.c b/lib/libc/db/hash/ndbm.c
index b7bc85f88aa..3eb7a6308df 100644
--- a/lib/libc/db/hash/ndbm.c
+++ b/lib/libc/db/hash/ndbm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndbm.c,v 1.8 1999/02/15 05:11:24 millert Exp $ */
+/* $OpenBSD: ndbm.c,v 1.9 1999/02/16 21:21:04 imp Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)dbm.c 8.6 (Berkeley) 11/7/95";
#else
-static char rcsid[] = "$OpenBSD: ndbm.c,v 1.8 1999/02/15 05:11:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: ndbm.c,v 1.9 1999/02/16 21:21:04 imp Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -54,6 +54,9 @@ static char rcsid[] = "$OpenBSD: ndbm.c,v 1.8 1999/02/15 05:11:24 millert Exp $"
#include <ndbm.h>
#include "hash.h"
+/* KLUDGE */
+#define dbm_rdonly(a) (0)
+
/*
*
* This package provides dbm and ndbm compatible interfaces to DB.