aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/print.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2013-11-06 19:49:01 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-11-06 19:49:01 +0000
commitf038dae646bac2b31be98ab592c0e5206d2d96f5 (patch)
tree39530b071991b2326f881b2a30a2d82d6c133fd6 /libgo/runtime/print.c
parentf20f261304993444741e0f0a14d3147e591bc660 (diff)
downloadgcc-f038dae646bac2b31be98ab592c0e5206d2d96f5.zip
gcc-f038dae646bac2b31be98ab592c0e5206d2d96f5.tar.gz
gcc-f038dae646bac2b31be98ab592c0e5206d2d96f5.tar.bz2
libgo: Update to October 24 version of master library.
From-SVN: r204466
Diffstat (limited to 'libgo/runtime/print.c')
-rw-r--r--libgo/runtime/print.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c
index f5c6e82..766ddbd 100644
--- a/libgo/runtime/print.c
+++ b/libgo/runtime/print.c
@@ -5,6 +5,7 @@
#include <stdarg.h>
#include "runtime.h"
#include "array.h"
+#include "go-type.h"
//static Lock debuglock;
@@ -13,7 +14,7 @@ static void go_vprintf(const char*, va_list);
// write to goroutine-local buffer if diverting output,
// or else standard error.
static void
-gwrite(const void *v, int32 n)
+gwrite(const void *v, intgo n)
{
G* g = runtime_g();
@@ -301,8 +302,6 @@ runtime_printpointer(void *p)
void
runtime_printstring(String v)
{
- // extern uint32 runtime_maxstring;
-
// if(v.len > runtime_maxstring) {
// gwrite("[string too long]", 17);
// return;