diff --git a/dwarves.c b/dwarves.c index 7a61fa4..af7ea8d 100644 --- a/dwarves.c +++ b/dwarves.c @@ -417,6 +417,11 @@ static void cu__find_class_holes(struct cu *cu) class__find_holes(pos); } +struct cus { + uint32_t nr_entries; + struct list_head cus; +}; + bool cus__empty(const struct cus *cus) { return list_empty(&cus->cus); diff --git a/dwarves.h b/dwarves.h index 4c4d17b..cbbc052 100644 --- a/dwarves.h +++ b/dwarves.h @@ -108,10 +108,7 @@ struct conf_fprintf { uint8_t strip_inline:1; }; -struct cus { - uint32_t nr_entries; - struct list_head cus; -}; +struct cus; struct cus *cus__new(void); void cus__delete(struct cus *cus);