aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/channel.h')
-rw-r--r--libgo/runtime/channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/runtime/channel.h b/libgo/runtime/channel.h
index ac79174..9dcaf7f 100644
--- a/libgo/runtime/channel.h
+++ b/libgo/runtime/channel.h
@@ -74,6 +74,9 @@ struct __go_channel
uint64_t data[];
};
+/* Try to link up with the structure generated by the frontend. */
+typedef struct __go_channel __go_channel;
+
/* The mutex used to control access to the value pointed to by the
__go_channel_select selected field. No additional mutexes may be
acquired while this mutex is held. */