diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-05-30 12:45:21 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-05-30 12:45:21 +0300 |
commit | b8d5da4c426b21ca0e56fc1cd6f75b49c0668e95 (patch) | |
tree | 26cbb1b04cd9febcdd37237c9576ea1c5eff3926 /src/falloc.c | |
parent | a14a6881538229cd938282bd56c7f0d12a089be6 (diff) | |
download | gdbm-b8d5da4c426b21ca0e56fc1cd6f75b49c0668e95.tar.gz gdbm-b8d5da4c426b21ca0e56fc1cd6f75b49c0668e95.tar.bz2 |
Namespace cleanup
Rename: __read to gdbm_file_read
__write to gdbm_file_write
__lseek to gdbm_file_seek
__fsync to gdbm_file_sync
Diffstat (limited to 'src/falloc.c')
-rw-r--r-- | src/falloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/falloc.c b/src/falloc.c index 13ee0ed..2f21ebe 100644 --- a/src/falloc.c +++ b/src/falloc.c @@ -191,7 +191,7 @@ pop_avail_block (GDBM_FILE dbf) } /* Read the block. */ - file_pos = __lseek (dbf, new_el.av_adr, SEEK_SET); + file_pos = gdbm_file_seek (dbf, new_el.av_adr, SEEK_SET); if (file_pos != new_el.av_adr) { GDBM_SET_ERRNO (dbf, GDBM_FILE_SEEK_ERROR, TRUE); @@ -321,7 +321,7 @@ push_avail_block (GDBM_FILE dbf) _gdbm_free (dbf, new_loc.av_adr, new_loc.av_size); /* Update the disk. */ - file_pos = __lseek (dbf, av_adr, SEEK_SET); + file_pos = gdbm_file_seek (dbf, av_adr, SEEK_SET); if (file_pos != av_adr) { GDBM_SET_ERRNO (dbf, GDBM_FILE_SEEK_ERROR, TRUE); |