core: Remove unused cu__string() method
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
a201149e18
commit
05687c547e
12
dwarves.c
12
dwarves.c
|
@ -67,18 +67,6 @@ bool tag__is_array(const struct tag *tag, const struct cu *cu)
|
|||
return 0;
|
||||
}
|
||||
|
||||
const char *cu__string(const struct cu *cu, strings_t s)
|
||||
{
|
||||
if (cu->dfops && cu->dfops->strings__ptr)
|
||||
return cu->dfops->strings__ptr(cu, s);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline const char *s(const struct cu *cu, strings_t i)
|
||||
{
|
||||
return cu__string(cu, i);
|
||||
}
|
||||
|
||||
int __tag__has_type_loop(const struct tag *tag, const struct tag *type,
|
||||
char *bf, size_t len, FILE *fp,
|
||||
const char *fn, int line)
|
||||
|
|
|
@ -246,8 +246,6 @@ struct cu *cu__new(const char *name, uint8_t addr_size,
|
|||
const char *filename);
|
||||
void cu__delete(struct cu *cu);
|
||||
|
||||
const char *cu__string(const struct cu *cu, strings_t s);
|
||||
|
||||
static inline int cu__cache_symtab(struct cu *cu)
|
||||
{
|
||||
int err = dwfl_module_getsymtab(cu->dwfl);
|
||||
|
|
Loading…
Reference in New Issue