From 355c38d86a4d67bcff36ed961bccd0fff042c83b Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Wed, 23 Jul 2014 07:08:52 +1000 Subject: runtime: rename throwgo to gothrow As pointed out by Elias Naur, the convention for Go runtime functions means this function should be named gothrow. Discussion: https://golang.org/cl/115860045/#msg6 LGTM=dvyukov R=golang-codereviews, dvyukov CC=golang-codereviews https://golang.org/cl/118120043 --- src/pkg/runtime/panic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/runtime/panic.c') diff --git a/src/pkg/runtime/panic.c b/src/pkg/runtime/panic.c index 47e9566278..04e0ec4b8c 100644 --- a/src/pkg/runtime/panic.c +++ b/src/pkg/runtime/panic.c @@ -525,7 +525,7 @@ runtime·throw(int8 *s) } void -runtime·throwgo(String s) +runtime·gothrow(String s) { if(g->m->throwing == 0) g->m->throwing = 1; -- cgit v1.3