summaryrefslogtreecommitdiffabout
path: root/src/gdbmstore.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-01 11:22:50 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-08-01 11:22:50 (GMT)
commita5088330ed9d2e672152b81720f3f35ad15a3bce (patch) (side-by-side diff)
treedee3cdcf3719c3c80ace9ca7ac75a65282587fff /src/gdbmstore.c
parente11023671fa3e05c404d1277a6fe6855c79ce923 (diff)
downloadgdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.gz
gdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.bz2
Use GDBM_FILE instead of gdbm_file_info *.
Diffstat (limited to 'src/gdbmstore.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbmstore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gdbmstore.c b/src/gdbmstore.c
index cc2bee7..26874fe 100644
--- a/src/gdbmstore.c
+++ b/src/gdbmstore.c
@@ -21,7 +21,6 @@
#include "autoconf.h"
#include "gdbmdefs.h"
-#include "gdbmerrno.h"
/* Add a new element to the database. CONTENT is keyed by KEY. The
@@ -37,7 +36,7 @@
the database. */
int
-gdbm_store (gdbm_file_info *dbf, datum key, datum content, int flags)
+gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
{
int new_hash_val; /* The new hash value. */
int elem_loc; /* The location in hash bucket. */

Return to:

Send suggestions and report system problems to the System administrator.