[DWARVES_EMIT]: Export cus__find_definition

Needed in the next ctracer cset.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-11-16 15:48:57 -02:00
parent 76aa7c0234
commit 6d2dbb484a
2 changed files with 3 additions and 2 deletions

View File

@ -30,8 +30,7 @@ static void cus__add_fwd_decl(struct cus *self, struct type *type)
list_add_tail(&type->node, self->fwd_decls);
}
static struct type *cus__find_definition(const struct cus *self,
const char *name)
struct type *cus__find_definition(const struct cus *self, const char *name)
{
struct type *pos;

View File

@ -26,5 +26,7 @@ extern int cus__emit_fwd_decl(struct cus *self, struct type *ctype,
const struct cu *cu, FILE *fp);
extern void type__emit(struct tag *tag_self, struct cu *cu,
const char *prefix, const char *suffix, FILE *fp);
extern struct type *cus__find_definition(const struct cus *self,
const char *name);
#endif /* _DWARVES_EMIT_H_ */