summaryrefslogtreecommitdiff
path: root/ext/socket/rubysocket.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 14:23:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 14:23:53 +0000
commit810dd43a207e74141f450f30bd239185ce49df2d (patch)
tree448efdd653d2dba25430b6e7c1302125e311138f /ext/socket/rubysocket.h
parent2dd3fa9f3e222866e0c3577a3e447509cc40a647 (diff)
* ext/socket/constants.c (level_arg): use unknown_level_to_int for
non internet protocol. (optname_arg): use only so_optname_to_int for non internet protocol. (cmsg_type_arg): use only scm_optname_to_int for non internet protocol. * ext/socket/mkconstants.rb: generate unknown_level_to_int. rename iplevel_to_int to ip_level_to_int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/rubysocket.h')
-rw-r--r--ext/socket/rubysocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h
index efd91f6..ae21f26 100644
--- a/ext/socket/rubysocket.h
+++ b/ext/socket/rubysocket.h
@@ -196,8 +196,8 @@ int family_arg(VALUE domain);
int socktype_arg(VALUE type);
int level_arg(int family, VALUE level);
int optname_arg(int family, int level, VALUE optname);
-int shutdown_how_arg(VALUE how);
int cmsg_type_arg(int family, int level, VALUE type);
+int shutdown_how_arg(VALUE how);
int rb_sock_getfamily(int sockfd);