aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmfetch.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/gdbmfetch.c
parente11023671fa3e05c404d1277a6fe6855c79ce923 (diff)
downloadgdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.gz
gdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.bz2
Use GDBM_FILE instead of gdbm_file_info *.
Diffstat (limited to 'src/gdbmfetch.c')
-rw-r--r--src/gdbmfetch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gdbmfetch.c b/src/gdbmfetch.c
index 3cd868e..a3749ae 100644
--- a/src/gdbmfetch.c
+++ b/src/gdbmfetch.c
@@ -21,14 +21,13 @@
#include "autoconf.h"
#include "gdbmdefs.h"
-#include "gdbmerrno.h"
/* Look up a given KEY and return the information associated with that KEY.
The pointer in the structure that is returned is a pointer to dynamically
allocated memory block. */
datum
-gdbm_fetch (gdbm_file_info *dbf, datum key)
+gdbm_fetch (GDBM_FILE dbf, datum key)
{
datum return_val; /* The return value. */
int elem_loc; /* The location in the bucket. */

Return to:

Send suggestions and report system problems to the System administrator.