Use bool for dwarf2_has_info

This changes dwarf2_has_info to return bool.
This commit is contained in:
Tom Tromey
2022-12-21 14:35:01 -07:00
parent 28f1a767db
commit 32e62cbcc1
2 changed files with 5 additions and 5 deletions

View File

@ -20,9 +20,9 @@
#ifndef DWARF2_PUBLIC_H
#define DWARF2_PUBLIC_H
extern int dwarf2_has_info (struct objfile *,
const struct dwarf2_debug_sections *,
bool = false);
extern bool dwarf2_has_info (struct objfile *,
const struct dwarf2_debug_sections *,
bool = false);
/* A DWARF names index variant. */
enum class dw_index_kind