From 9e65cec2fda780a5204ab4d929432b569f3dc588 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 24 May 2012 20:47:09 +0000 Subject: [PATCH] runtime: Correct definition of __go_file_line to match declaration. From Rainer Orth. From-SVN: r187851 --- libgo/runtime/go-caller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgo/runtime/go-caller.c b/libgo/runtime/go-caller.c index dda396054c3..b99d20c225f 100644 --- a/libgo/runtime/go-caller.c +++ b/libgo/runtime/go-caller.c @@ -48,7 +48,7 @@ RegisterDebugLookup (infofn_type pi, symvalfn_type ps) /* Return function/file/line information for PC. */ _Bool -__go_file_line (uintptr_t pc, struct __go_string *fn, struct __go_string *file, +__go_file_line (uintptr pc, struct __go_string *fn, struct __go_string *file, int *line) { if (infofn == NULL) -- 2.30.2