From: Ian Lance Taylor Date: Tue, 3 Dec 2013 14:51:07 +0000 (+0000) Subject: runtime: Fix prototype and one use of runtime_traceback. X-Git-Tag: releases/gcc-4.9.0~2308 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8d8443d220b2d3651b0f14b8c98ac6e13fb923e;p=thirdparty%2Fgcc.git runtime: Fix prototype and one use of runtime_traceback. From Richard Biener. From-SVN: r205634 --- diff --git a/libgo/runtime/go-signal.c b/libgo/runtime/go-signal.c index 4f0dcc78c178..73bd8371b8f7 100644 --- a/libgo/runtime/go-signal.c +++ b/libgo/runtime/go-signal.c @@ -218,7 +218,7 @@ runtime_sighandler (int sig, Siginfo *info, G *g; g = runtime_g (); - runtime_traceback (g); + runtime_traceback (); runtime_tracebackothers (g); /* The gc library calls runtime_dumpregs here, and provides diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h index b9a1686d385c..da2416335ec2 100644 --- a/libgo/runtime/runtime.h +++ b/libgo/runtime/runtime.h @@ -453,7 +453,7 @@ enum { }; void runtime_hashinit(void); -void runtime_traceback(); +void runtime_traceback(void); void runtime_tracebackothers(G*); /*