From c570af00f629db0876fcdbc5fb7ab12440b11d16 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 27 Mar 2011 18:06:50 +0000 Subject: [PATCH] Remove closedchan function. From-SVN: r171577 --- libgo/runtime/go-reflect-chan.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libgo/runtime/go-reflect-chan.c b/libgo/runtime/go-reflect-chan.c index 6ec1b9a2dc7..c9ccda7cefc 100644 --- a/libgo/runtime/go-reflect-chan.c +++ b/libgo/runtime/go-reflect-chan.c @@ -120,17 +120,6 @@ chanrecv (unsigned char *ch, unsigned char *val, _Bool *selected, } } -extern _Bool chanclosed (unsigned char *) - asm ("libgo_reflect.reflect.chanclosed"); - -_Bool -chanclosed (unsigned char *ch) -{ - struct __go_channel *channel = (struct __go_channel *) ch; - - return __go_builtin_closed (channel); -} - extern void chanclose (unsigned char *) asm ("libgo_reflect.reflect.chanclose"); -- 2.30.2