aboutsummaryrefslogtreecommitdiff
path: root/compat/delete.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-05 11:29:42 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-05 11:29:42 +0000
commit9839c83761c573414d77de1b957bae04547bc910 (patch)
tree5698520af3c5170d3d6b971948c61899dab75d70 /compat/delete.c
parent39cc2512acbcf56ffbf87e3d26afc0450ca37de9 (diff)
downloadgdbm-9839c83761c573414d77de1b957bae04547bc910.tar.gz
gdbm-9839c83761c573414d77de1b957bae04547bc910.tar.bz2
Include nbdm.h.
Use the new DBM declaration.
Diffstat (limited to 'compat/delete.c')
-rw-r--r--compat/delete.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/compat/delete.c b/compat/delete.c
index a40e173..a267dcc 100644
--- a/compat/delete.c
+++ b/compat/delete.c
@@ -20,15 +20,12 @@
/* Include system configuration before all else. */
#include "autoconf.h"
-
-#include "gdbmdefs.h"
-#include "extern.h"
-
+#include "dbm-priv.h"
/* Remove the KEYed item and the KEY from the database. */
int
delete (datum key)
{
- return gdbm_delete (_gdbm_file, key);
+ return dbm_delete (_gdbm_file, key);
}

Return to:

Send suggestions and report system problems to the System administrator.