1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.

(rsock_sys_fail_path): Ditto.
  (rsock_sys_fail_sockaddr): Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-04-06 03:41:01 +00:00
parent 11a9d77286
commit 24ee6971cc
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
Sat Apr 6 12:40:16 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.
(rsock_sys_fail_path): Ditto.
(rsock_sys_fail_sockaddr): Ditto.
Sat Apr 6 11:49:35 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the

View file

@ -333,8 +333,8 @@ void rsock_init_addrinfo(void);
void rsock_init_sockopt(void);
void rsock_init_socket_init(void);
void rsock_sys_fail_host_port(const char *, VALUE, VALUE);
void rsock_sys_fail_path(const char *, VALUE);
void rsock_sys_fail_sockaddr(const char *, VALUE, VALUE);
NORETURN(void rsock_sys_fail_host_port(const char *, VALUE, VALUE));
NORETURN(void rsock_sys_fail_path(const char *, VALUE));
NORETURN(void rsock_sys_fail_sockaddr(const char *, VALUE, VALUE));
#endif