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) (unidiff)
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 @@
21#include "autoconf.h" 21#include "autoconf.h"
22 22
23#include "gdbmdefs.h" 23#include "gdbmdefs.h"
24#include "gdbmerrno.h"
25 24
26 25
27/* Add a new element to the database. CONTENT is keyed by KEY. The 26/* Add a new element to the database. CONTENT is keyed by KEY. The
@@ -37,7 +36,7 @@
37 the database. */ 36 the database. */
38 37
39int 38int
40gdbm_store (gdbm_file_info *dbf, datum key, datum content, int flags) 39gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
41{ 40{
42 int new_hash_val; /* The new hash value. */ 41 int new_hash_val; /* The new hash value. */
43 int elem_loc; /* The location in hash bucket. */ 42 int elem_loc; /* The location in hash bucket. */

Return to:

Send suggestions and report system problems to the System administrator.