Skip to content

Commit 96af274

Browse files
committed
Remove last traces of previously deleted bgzf_idx_amend_last()
As noted in #1722, this function was removed in PR #1672.
1 parent 98105ab commit 96af274

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

hts_internal.h

-12
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,6 @@ const char *hts_plugin_path(void);
123123
*/
124124
int bgzf_idx_push(BGZF *fp, hts_idx_t *hidx, int tid, hts_pos_t beg, hts_pos_t end, uint64_t offset, int is_mapped);
125125

126-
/*
127-
* bgzf analogue to hts_idx_amend_last.
128-
*
129-
* This is needed when multi-threading and writing indices on the fly.
130-
* At the point of writing a record we know the virtual offset for start
131-
* and end, but that end virtual offset may be the end of the current
132-
* block. In standard indexing our end virtual offset becomes the start
133-
* of the next block. Thus to ensure bit for bit compatibility we
134-
* detect this boundary case and fix it up here.
135-
*/
136-
void bgzf_idx_amend_last(BGZF *fp, hts_idx_t *hidx, uint64_t offset);
137-
138126
static inline int find_file_extension(const char *fn, char ext_out[static HTS_MAX_EXT_LEN])
139127
{
140128
const char *delim = fn ? strstr(fn, HTS_IDX_DELIM) : NULL, *ext;

0 commit comments

Comments
 (0)