diff options
Diffstat (limited to 'mpq-bios.c')
-rw-r--r-- | mpq-bios.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -56,8 +56,6 @@ typedef struct { uint32_t file_block_index; } hash_t; -/* Defined in int-bios.h - typedef struct { uint64_t block_offset; uint32_t block_size; @@ -65,8 +63,6 @@ typedef struct { uint32_t flags; } block_t; -*/ - struct mpq_archive_t { int fd; int closeit; @@ -340,13 +336,6 @@ int mpqlib_find_hash_entry_by_hash(struct mpq_archive_t * mpq_a, uint32_t hA, ui return -1; } -const block_t * __mpqlib_get_block_entry(struct mpq_archive_t * mpq_a, int entry) { - if ((entry >= mpq_a->block_table_entries) || (entry < 0)) - return NULL; - - return mpq_a->blocks + entry; -} - int __mpqlib_seek(struct mpq_archive_t * mpq_a, off_t off) { if (lseek64(mpq_a->fd, off, SEEK_SET) != off) return 0; |