diff options
| author | Roland McGrath <[email protected]> | 2008-12-31 00:21:04 -0800 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2008-12-31 00:21:04 -0800 |
| commit | 1f6d2010bb26b6bf5395a98651fce9a1a9141ac3 (patch) | |
| tree | 511b32bf01db236e8f2641195058697d4a29732f /libdw/libdwP.h | |
| parent | ec32ff94cfcb52f0bd5a5b00968fd590d444c306 (diff) | |
dwarf_haschildren: Return -1 for error case, not 0.
Diffstat (limited to 'libdw/libdwP.h')
| -rw-r--r-- | libdw/libdwP.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h index f805295f..867ad89b 100644 --- a/libdw/libdwP.h +++ b/libdw/libdwP.h @@ -194,12 +194,12 @@ struct Dwarf /* Abbreviation representation. */ struct Dwarf_Abbrev { + Dwarf_Off offset; + unsigned char *attrp; + unsigned int attrcnt; unsigned int code; unsigned int tag; - int has_children; - unsigned int attrcnt; - unsigned char *attrp; - Dwarf_Off offset; + bool has_children; }; #include "dwarf_abbrev_hash.h" |
