aboutsummaryrefslogtreecommitdiff
path: root/compat/dbmstore.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/dbmstore.c
parent39cc2512acbcf56ffbf87e3d26afc0450ca37de9 (diff)
downloadgdbm-9839c83761c573414d77de1b957bae04547bc910.tar.gz
gdbm-9839c83761c573414d77de1b957bae04547bc910.tar.bz2
Include nbdm.h.
Use the new DBM declaration.
Diffstat (limited to 'compat/dbmstore.c')
-rw-r--r--compat/dbmstore.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/compat/dbmstore.c b/compat/dbmstore.c
index b07bbdc..1b6636a 100644
--- a/compat/dbmstore.c
+++ b/compat/dbmstore.c
@@ -19,17 +19,15 @@
/* Include system configuration before all else. */
#include "autoconf.h"
-
+#include "ndbm.h"
#include "gdbmdefs.h"
-#include "extern.h"
-
/* NDBM add a new element to the database. CONTENT is keyed by KEY.
The file on disk is updated to reflect the structure of the new
database before returning from this procedure. */
int
-dbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
+dbm_store (DBM *dbm, datum key, datum content, int flags)
{
- return gdbm_store (dbf, key, content, flags);
+ return gdbm_store (dbm->file, key, content, flags);
}

Return to:

Send suggestions and report system problems to the System administrator.