aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorHector Chu <hectorchu@gmail.com>2011-02-10 23:02:27 +1100
committerAlex Brainman <alex.brainman@gmail.com>2011-02-10 23:02:27 +1100
commit239ef63bf2f30f86367d8b81a49ab9c25646f766 (patch)
treeb171c8d7b410a6af45df6b2423ef01cdbc78039b /src/pkg/runtime/runtime.h
parent34fc17a8201463a358833008898c5f96d72f9152 (diff)
downloadgo-239ef63bf2f30f86367d8b81a49ab9c25646f766.tar.xz
runtime: take the callback return value from the stack
R=brainman, lxn, rsc CC=golang-dev https://golang.org/cl/4126056
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index b76632a2d4..cea07e4a70 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -443,7 +443,7 @@ void runtime·breakpoint(void);
void runtime·gosched(void);
void runtime·goexit(void);
void runtime·runcgo(void (*fn)(void*), void*);
-uintptr runtime·runcgocallback(G*, void*, void (*fn)());
+void runtime·runcgocallback(G*, void*, void (*fn)());
void runtime·entersyscall(void);
void runtime·exitsyscall(void);
void runtime·startcgocallback(G*);