aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmreorg.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/gdbmreorg.c
parente11023671fa3e05c404d1277a6fe6855c79ce923 (diff)
downloadgdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.gz
gdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.bz2
Use GDBM_FILE instead of gdbm_file_info *.
Diffstat (limited to 'src/gdbmreorg.c')
-rw-r--r--src/gdbmreorg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gdbmreorg.c b/src/gdbmreorg.c
index fccffff..797d75a 100644
--- a/src/gdbmreorg.c
+++ b/src/gdbmreorg.c
@@ -21,7 +21,6 @@
#include "autoconf.h"
#include "gdbmdefs.h"
-#include "gdbmerrno.h"
#include "extern.h"
#if !HAVE_RENAME
@@ -58,9 +57,9 @@ _gdbm_rename (char *old_name, char *new_name)
after a successful reorganization. */
int
-gdbm_reorganize (gdbm_file_info *dbf)
+gdbm_reorganize (GDBM_FILE dbf)
{
- gdbm_file_info *new_dbf; /* The new file. */
+ GDBM_FILE new_dbf; /* The new file. */
char *new_name; /* A temporary name. */
int len; /* Used in new_name construction. */
datum key, nextkey, data; /* For the sequential sweep. */

Return to:

Send suggestions and report system problems to the System administrator.