core: Make 'struct cus' opaque, only visible in dwarves.c
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
3895b29060
commit
972065482a
|
@ -417,6 +417,11 @@ static void cu__find_class_holes(struct cu *cu)
|
||||||
class__find_holes(pos);
|
class__find_holes(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct cus {
|
||||||
|
uint32_t nr_entries;
|
||||||
|
struct list_head cus;
|
||||||
|
};
|
||||||
|
|
||||||
bool cus__empty(const struct cus *cus)
|
bool cus__empty(const struct cus *cus)
|
||||||
{
|
{
|
||||||
return list_empty(&cus->cus);
|
return list_empty(&cus->cus);
|
||||||
|
|
|
@ -108,10 +108,7 @@ struct conf_fprintf {
|
||||||
uint8_t strip_inline:1;
|
uint8_t strip_inline:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cus {
|
struct cus;
|
||||||
uint32_t nr_entries;
|
|
||||||
struct list_head cus;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct cus *cus__new(void);
|
struct cus *cus__new(void);
|
||||||
void cus__delete(struct cus *cus);
|
void cus__delete(struct cus *cus);
|
||||||
|
|
Loading…
Reference in New Issue