aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/panic.c
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2014-07-23 07:08:52 +1000
committerDave Cheney <dave@cheney.net>2014-07-23 07:08:52 +1000
commit355c38d86a4d67bcff36ed961bccd0fff042c83b (patch)
tree08e5663105087d6345b37a196008cdc7ee99485e /src/pkg/runtime/panic.c
parent65e2b6f8474f032be3dbc17a7f8ffe60c2ca6b15 (diff)
downloadgo-355c38d86a4d67bcff36ed961bccd0fff042c83b.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/panic.c')
-rw-r--r--src/pkg/runtime/panic.c2
1 files changed, 1 insertions, 1 deletions
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;