projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e90195
)
Remove closedchan function.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Sun, 27 Mar 2011 18:06:50 +0000
(18:06 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Sun, 27 Mar 2011 18:06:50 +0000
(18:06 +0000)
From-SVN: r171577
libgo/runtime/go-reflect-chan.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/go-reflect-chan.c
b/libgo/runtime/go-reflect-chan.c
index 6ec1b9a2dc7c0342577b242325ad0efacbfaafc2..c9ccda7cefcd2938aeda35331f8c2c2afa3c3403 100644
(file)
--- 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");