summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-interface-val-compare.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/go-interface-val-compare.c')
-rw-r--r--libgo/runtime/go-interface-val-compare.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/runtime/go-interface-val-compare.c b/libgo/runtime/go-interface-val-compare.c
index 15898924ac8..e2dae6a1892 100644
--- a/libgo/runtime/go-interface-val-compare.c
+++ b/libgo/runtime/go-interface-val-compare.c
@@ -4,13 +4,14 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file. */
+#include "runtime.h"
#include "go-type.h"
#include "interface.h"
/* Compare two interface values. Return 0 for equal, not zero for not
equal (return value is like strcmp). */
-int
+intgo
__go_interface_value_compare (
struct __go_interface left,
const struct __go_type_descriptor *right_descriptor,