diff options
| author | Russ Cox <rsc@golang.org> | 2011-08-23 13:13:27 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2011-08-23 13:13:27 -0400 |
| commit | 33e9d24ad9007d0dd4eec90b1c755aac7d1a9cbb (patch) | |
| tree | 7478963713fb59dd0da8f5c4174ef5d1cacca867 /src/pkg/runtime/runtime.c | |
| parent | f6d536bea4efac42c5baee5188293ad7be2f70c3 (diff) | |
| download | go-33e9d24ad9007d0dd4eec90b1c755aac7d1a9cbb.tar.xz | |
runtime: fix void warnings
Add -V flag to 6c command line to keep them fixed.
R=ken2
CC=golang-dev
https://golang.org/cl/4930046
Diffstat (limited to 'src/pkg/runtime/runtime.c')
| -rw-r--r-- | src/pkg/runtime/runtime.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c index c4bd408829..ae6fd877c7 100644 --- a/src/pkg/runtime/runtime.c +++ b/src/pkg/runtime/runtime.c @@ -638,20 +638,20 @@ runtime·algarray[] = { [AMEM] { memhash, memequal, memprint, memcopy }, [ANOEQ] { runtime·nohash, runtime·noequal, memprint, memcopy }, -[ASTRING] { strhash, strequal, strprint, strcopy }, -[AINTER] { interhash, interequal, interprint, intercopy }, -[ANILINTER] { nilinterhash, nilinterequal, nilinterprint, nilintercopy }, -[ASLICE] { runtime·nohash, runtime·noequal, memprint, slicecopy }, -[AMEM8] { memhash, memequal8, memprint, memcopy8 }, -[AMEM16] { memhash, memequal16, memprint, memcopy16 }, -[AMEM32] { memhash, memequal32, memprint, memcopy32 }, -[AMEM64] { memhash, memequal64, memprint, memcopy64 }, -[AMEM128] { memhash, memequal128, memprint, memcopy128 }, -[ANOEQ8] { runtime·nohash, runtime·noequal, memprint, memcopy8 }, -[ANOEQ16] { runtime·nohash, runtime·noequal, memprint, memcopy16 }, -[ANOEQ32] { runtime·nohash, runtime·noequal, memprint, memcopy32 }, -[ANOEQ64] { runtime·nohash, runtime·noequal, memprint, memcopy64 }, -[ANOEQ128] { runtime·nohash, runtime·noequal, memprint, memcopy128 }, +[ASTRING] { (void*)strhash, (void*)strequal, (void*)strprint, (void*)strcopy }, +[AINTER] { (void*)interhash, (void*)interequal, (void*)interprint, (void*)intercopy }, +[ANILINTER] { (void*)nilinterhash, (void*)nilinterequal, (void*)nilinterprint, (void*)nilintercopy }, +[ASLICE] { (void*)runtime·nohash, (void*)runtime·noequal, (void*)memprint, (void*)slicecopy }, +[AMEM8] { memhash, (void*)memequal8, memprint, (void*)memcopy8 }, +[AMEM16] { memhash, (void*)memequal16, memprint, (void*)memcopy16 }, +[AMEM32] { memhash, (void*)memequal32, memprint, (void*)memcopy32 }, +[AMEM64] { memhash, (void*)memequal64, memprint, (void*)memcopy64 }, +[AMEM128] { memhash, (void*)memequal128, memprint, (void*)memcopy128 }, +[ANOEQ8] { runtime·nohash, runtime·noequal, memprint, (void*)memcopy8 }, +[ANOEQ16] { runtime·nohash, runtime·noequal, memprint, (void*)memcopy16 }, +[ANOEQ32] { runtime·nohash, runtime·noequal, memprint, (void*)memcopy32 }, +[ANOEQ64] { runtime·nohash, runtime·noequal, memprint, (void*)memcopy64 }, +[ANOEQ128] { runtime·nohash, runtime·noequal, memprint, (void*)memcopy128 }, }; int64 |
