summaryrefslogtreecommitdiffstats
path: root/libdw/libdw_findcu.c
diff options
context:
space:
mode:
authorChih-Hung Hsieh <[email protected]>2015-09-04 12:04:11 -0700
committerMark Wielaard <[email protected]>2015-09-07 22:04:21 +0200
commitaa1c2ca808a267a5a3c372de5461c1f67f9a8869 (patch)
tree099c81057ef43a2717c6549f05b09d785889377d /libdw/libdw_findcu.c
parent2ec957327cdfae6cee592a52958a9c937ea4b13c (diff)
Replace some K&R function definitions with ansi-C definitions.
Signed-off-by: Chih-Hung Hsieh <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/libdw_findcu.c')
-rw-r--r--libdw/libdw_findcu.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libdw/libdw_findcu.c b/libdw/libdw_findcu.c
index d8da2e38..5c03843c 100644
--- a/libdw/libdw_findcu.c
+++ b/libdw/libdw_findcu.c
@@ -63,9 +63,7 @@ findcu_cb (const void *arg1, const void *arg2)
struct Dwarf_CU *
internal_function
-__libdw_intern_next_unit (dbg, debug_types)
- Dwarf *dbg;
- bool debug_types;
+__libdw_intern_next_unit (Dwarf *dbg, bool debug_types)
{
Dwarf_Off *const offsetp
= debug_types ? &dbg->next_tu_offset : &dbg->next_cu_offset;
@@ -135,10 +133,7 @@ __libdw_intern_next_unit (dbg, debug_types)
}
struct Dwarf_CU *
-__libdw_findcu (dbg, start, debug_types)
- Dwarf *dbg;
- Dwarf_Off start;
- bool debug_types;
+__libdw_findcu (Dwarf *dbg, Dwarf_Off start, bool debug_types)
{
void **tree = debug_types ? &dbg->tu_tree : &dbg->cu_tree;
Dwarf_Off *next_offset