aboutsummaryrefslogtreecommitdiff
path: root/compat/dbmdelete.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/dbmdelete.c')
-rw-r--r--compat/dbmdelete.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/compat/dbmdelete.c b/compat/dbmdelete.c
index 627e9a8..0f3f8a4 100644
--- a/compat/dbmdelete.c
+++ b/compat/dbmdelete.c
@@ -20,15 +20,12 @@
/* Include system configuration before all else. */
#include "autoconf.h"
-
-#include "gdbmdefs.h"
-#include "extern.h"
-
+#include "ndbm.h"
/* Remove the KEYed item and the KEY from the database DBF. */
int
-dbm_delete (GDBM_FILE dbf, datum key)
+dbm_delete (DBM *dbm, datum key)
{
- return gdbm_delete (dbf,key);
+ return gdbm_delete (dbm->file, key);
}

Return to:

Send suggestions and report system problems to the System administrator.