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_getaranges.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libdw/dwarf_getaranges.c') diff --git a/libdw/dwarf_getaranges.c b/libdw/dwarf_getaranges.c index 6c6169e9..4252746e 100644 --- a/libdw/dwarf_getaranges.c +++ b/libdw/dwarf_getaranges.c @@ -54,10 +54,7 @@ compare_aranges (const void *a, const void *b) } int -dwarf_getaranges (dbg, aranges, naranges) - Dwarf *dbg; - Dwarf_Aranges **aranges; - size_t *naranges; +dwarf_getaranges (Dwarf *dbg, Dwarf_Aranges **aranges, size_t *naranges) { if (dbg == NULL) return -1; -- cgit v1.2.1