diff options
| author | Jingcheng Zhang <diogin@gmail.com> | 2012-12-19 00:30:29 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-12-19 00:30:29 +0800 |
| commit | 70e967b7bc6583735c098a91395b9f42b017e006 (patch) | |
| tree | 552bd91d9d3fcba81b6b9dd06e24340889c56402 /src/pkg/runtime/runtime.h | |
| parent | a9d82423110dc39ede4503ea120db1d739119a8f (diff) | |
| download | go-70e967b7bc6583735c098a91395b9f42b017e006.tar.xz | |
runtime: use "mp" and "gp" instead of "m" and "g" for local variable name to avoid confusion with the global "m" and "g".
R=golang-dev, minux.ma, rsc
CC=bradfitz, golang-dev
https://golang.org/cl/6939064
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index e6a78ba570..6c9d50eff4 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -620,7 +620,7 @@ void runtime·exit1(int32); void runtime·ready(G*); byte* runtime·getenv(int8*); int32 runtime·atoi(byte*); -void runtime·newosproc(M *m, G *g, void *stk, void (*fn)(void)); +void runtime·newosproc(M *mp, G *gp, void *stk, void (*fn)(void)); void runtime·signalstack(byte*, int32); G* runtime·malg(int32); void runtime·asminit(void); |
