From 1ccdfb683ad6c7e59793136c3a657ddf131cafd1 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 22 Sep 2015 22:27:01 +0200 Subject: Remove old-style function definitions. We already require -std=gnu99 and old-style function definitions might hide some compiler warnings. Signed-off-by: Mark Wielaard --- libdw/dwarf_child.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libdw/dwarf_child.c') diff --git a/libdw/dwarf_child.c b/libdw/dwarf_child.c index 58a438b5..cc95fb3f 100644 --- a/libdw/dwarf_child.c +++ b/libdw/dwarf_child.c @@ -115,9 +115,7 @@ __libdw_find_attr (Dwarf_Die *die, unsigned int search_name, int -dwarf_child (die, result) - Dwarf_Die *die; - Dwarf_Die *result; +dwarf_child (Dwarf_Die *die, Dwarf_Die *result) { /* Ignore previous errors. */ if (die == NULL) -- cgit v1.2.3