reftable/merged: make merged_iter
structure private
The `merged_iter` structure is not used anywhere outside of "merged.c", but is declared in its header. Move it into the code file so that it is clear that its implementation details are never exposed to anything. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
5c11529c66
commit
48929d2e47
@ -17,6 +17,15 @@ https://developers.google.com/open-source/licenses/bsd
|
||||
#include "reftable-error.h"
|
||||
#include "system.h"
|
||||
|
||||
struct merged_iter {
|
||||
struct reftable_iterator *stack;
|
||||
uint32_t hash_id;
|
||||
size_t stack_len;
|
||||
uint8_t typ;
|
||||
int suppress_deletions;
|
||||
struct merged_iter_pqueue pq;
|
||||
};
|
||||
|
||||
static int merged_iter_init(struct merged_iter *mi)
|
||||
{
|
||||
for (size_t i = 0; i < mi->stack_len; i++) {
|
||||
|
Reference in New Issue
Block a user