aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmdelete.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-01 11:22:50 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-01 11:22:50 +0000
commita5088330ed9d2e672152b81720f3f35ad15a3bce (patch)
treedee3cdcf3719c3c80ace9ca7ac75a65282587fff /src/gdbmdelete.c
parente11023671fa3e05c404d1277a6fe6855c79ce923 (diff)
downloadgdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.gz
gdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.bz2
Use GDBM_FILE instead of gdbm_file_info *.
Diffstat (limited to 'src/gdbmdelete.c')
-rw-r--r--src/gdbmdelete.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gdbmdelete.c b/src/gdbmdelete.c
index 0227334..2226c2d 100644
--- a/src/gdbmdelete.c
+++ b/src/gdbmdelete.c
@@ -21,14 +21,13 @@
#include "autoconf.h"
#include "gdbmdefs.h"
-#include "gdbmerrno.h"
/* Remove the KEYed item and the KEY from the database DBF. The file on disk
is updated to reflect the structure of the new database before returning
from this procedure. */
int
-gdbm_delete (gdbm_file_info *dbf, datum key)
+gdbm_delete (GDBM_FILE dbf, datum key)
{
int elem_loc; /* The location in the current hash bucket. */
int last_loc; /* Last location emptied by the delete. */

Return to:

Send suggestions and report system problems to the System administrator.