aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/channel.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-05-06 20:06:29 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-05-06 20:06:29 +0000
commit4e7e7a49b760bc46bf0ade36c25a7d8e088b6dea (patch)
treea04353390cbd4dbceb299c20d4a3c6ae273157b8 /libgo/runtime/channel.h
parentc81e79b590707957ae3dd2ac872aebba7ad8a46e (diff)
downloadgcc-4e7e7a49b760bc46bf0ade36c25a7d8e088b6dea.zip
gcc-4e7e7a49b760bc46bf0ade36c25a7d8e088b6dea.tar.gz
gcc-4e7e7a49b760bc46bf0ade36c25a7d8e088b6dea.tar.bz2
More uses of backend interface for types.
From-SVN: r173507
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. */