diff options
| author | Dave Cheney <dave@cheney.net> | 2014-07-23 07:08:52 +1000 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2014-07-23 07:08:52 +1000 |
| commit | 355c38d86a4d67bcff36ed961bccd0fff042c83b (patch) | |
| tree | 08e5663105087d6345b37a196008cdc7ee99485e /src/pkg/runtime/panic.c | |
| parent | 65e2b6f8474f032be3dbc17a7f8ffe60c2ca6b15 (diff) | |
| download | go-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.c | 2 |
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; |
