aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmexists.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/gdbmexists.c
parente11023671fa3e05c404d1277a6fe6855c79ce923 (diff)
downloadgdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.gz
gdbm-a5088330ed9d2e672152b81720f3f35ad15a3bce.tar.bz2
Use GDBM_FILE instead of gdbm_file_info *.
Diffstat (limited to 'src/gdbmexists.c')
-rw-r--r--src/gdbmexists.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gdbmexists.c b/src/gdbmexists.c
index 74da121..b1fb4cf 100644
--- a/src/gdbmexists.c
+++ b/src/gdbmexists.c
@@ -21,13 +21,12 @@
#include "autoconf.h"
#include "gdbmdefs.h"
-#include "gdbmerrno.h"
/* This is nothing more than a wrapper around _gdbm_findkey(). The
point? It doesn't alloate any memory. */
int
-gdbm_exists (gdbm_file_info *dbf, datum key)
+gdbm_exists (GDBM_FILE dbf, datum key)
{
char *find_data; /* Dummy */
int hash_val; /* Dummy */

Return to:

Send suggestions and report system problems to the System administrator.