summaryrefslogtreecommitdiffstats
path: root/libgo/runtime/go-interface-eface-compare.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-01 03:02:13 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-01 03:02:13 +0000
commit1b1f2abf025e2ca5e4bd4c5dd68384056cc20e1e (patch)
tree0285cca6b375a23d93c20efec03cb9adec30f0e0 /libgo/runtime/go-interface-eface-compare.c
parentce281ff30962b2b133ebf345e4a8654ad39ad768 (diff)
downloadppe42-gcc-1b1f2abf025e2ca5e4bd4c5dd68384056cc20e1e.tar.gz
ppe42-gcc-1b1f2abf025e2ca5e4bd4c5dd68384056cc20e1e.zip
compiler, runtime: More steps toward separating int and intgo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193059 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/go-interface-eface-compare.c')
-rw-r--r--libgo/runtime/go-interface-eface-compare.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/runtime/go-interface-eface-compare.c b/libgo/runtime/go-interface-eface-compare.c
index db03b914c84..bb81ff813a6 100644
--- a/libgo/runtime/go-interface-eface-compare.c
+++ b/libgo/runtime/go-interface-eface-compare.c
@@ -5,13 +5,14 @@
license that can be found in the LICENSE file. */
#include "runtime.h"
+#include "go-type.h"
#include "interface.h"
/* Compare a non-empty interface value with an empty interface value.
Return 0 for equal, not zero for not equal (return value is like
strcmp). */
-int
+intgo
__go_interface_empty_compare (struct __go_interface left,
struct __go_empty_interface right)
{
OpenPOWER on IntegriCloud