diff options
Diffstat (limited to 'src/bucket.c')
-rw-r--r-- | src/bucket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bucket.c b/src/bucket.c index 2374d07..65a5405 100644 --- a/src/bucket.c +++ b/src/bucket.c @@ -25,7 +25,7 @@ /* Initializing a new hash buckets sets all bucket entries to -1 hash value. */ void -_gdbm_new_bucket (gdbm_file_info *dbf, hash_bucket *bucket, int bits) +_gdbm_new_bucket (GDBM_FILE dbf, hash_bucket *bucket, int bits) { int index; @@ -50,7 +50,7 @@ _gdbm_new_bucket (gdbm_file_info *dbf, hash_bucket *bucket, int bits) and dbf->bucket points to the correct bucket. */ void -_gdbm_get_bucket (gdbm_file_info *dbf, int dir_index) +_gdbm_get_bucket (GDBM_FILE dbf, int dir_index) { off_t bucket_adr; /* The address of the correct hash bucket. */ int num_bytes; /* The number of bytes read. */ @@ -110,7 +110,7 @@ _gdbm_get_bucket (gdbm_file_info *dbf, int dir_index) are stored in the buckets. Splitting the current bucket may require doubling the size of the hash directory. */ void -_gdbm_split_bucket (gdbm_file_info *dbf, int next_insert) +_gdbm_split_bucket (GDBM_FILE dbf, int next_insert) { hash_bucket *bucket[2]; /* Pointers to the new buckets. */ @@ -301,7 +301,7 @@ _gdbm_split_bucket (gdbm_file_info *dbf, int next_insert) cache entry containing the bucket to be written. */ void -_gdbm_write_bucket (gdbm_file_info *dbf, cache_elem *ca_entry) +_gdbm_write_bucket (GDBM_FILE dbf, cache_elem *ca_entry) { int num_bytes; /* The return value for write. */ off_t file_pos; /* The return value for lseek. */ |