From: Ian Lance Taylor Date: Sun, 27 Mar 2011 18:06:50 +0000 (+0000) Subject: Remove closedchan function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c570af00f629db0876fcdbc5fb7ab12440b11d16;p=gcc.git Remove closedchan function. From-SVN: r171577 --- 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");