From 24ee6971cc7405dd504aff16d7964687e510d00d Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 6 Apr 2013 03:41:01 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ ext/socket/rubysocket.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d538a10f39..73dde98274 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Apr 6 12:40:16 2013 Tanaka Akira + + * 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 * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h index bc6e3b07e2..b0d788159f 100644 --- a/ext/socket/rubysocket.h +++ b/ext/socket/rubysocket.h @@ -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