summaryrefslogtreecommitdiff
path: root/ext/socket/unixserver.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-13 12:14:00 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-13 12:14:00 +0000
commit36dcff1cf562d095a17fd6251407f37980c7f766 (patch)
tree5fc3cf91694716c929d33bdba40882d08966c40b /ext/socket/unixserver.c
parent840e6c70e811908236f5f3c5ae81eec817c6f461 (diff)
* ext/socket/socket.c (Init_socket): define TCPServer#listen and
UNIXServer#listen here for rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/unixserver.c')
-rw-r--r--ext/socket/unixserver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/socket/unixserver.c b/ext/socket/unixserver.c
index 74d9187..82b2186 100644
--- a/ext/socket/unixserver.c
+++ b/ext/socket/unixserver.c
@@ -143,6 +143,5 @@ Init_unixserver(void)
rb_define_method(rb_cUNIXServer, "accept", unix_accept, 0);
rb_define_method(rb_cUNIXServer, "accept_nonblock", unix_accept_nonblock, 0);
rb_define_method(rb_cUNIXServer, "sysaccept", unix_sysaccept, 0);
- rb_define_method(rb_cUNIXServer, "listen", sock_listen, 1);
#endif
}