diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-05 11:29:42 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-05 11:29:42 +0000 |
commit | 9839c83761c573414d77de1b957bae04547bc910 (patch) | |
tree | 5698520af3c5170d3d6b971948c61899dab75d70 /compat/dbmdelete.c | |
parent | 39cc2512acbcf56ffbf87e3d26afc0450ca37de9 (diff) | |
download | gdbm-9839c83761c573414d77de1b957bae04547bc910.tar.gz gdbm-9839c83761c573414d77de1b957bae04547bc910.tar.bz2 |
Include nbdm.h.
Use the new DBM declaration.
Diffstat (limited to 'compat/dbmdelete.c')
-rw-r--r-- | compat/dbmdelete.c | 9 |
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); } |