[前][次][番号順一覧][スレッド一覧]

ruby-changes:64625

From: Nobuyoshi <ko1@a...>
Date: Sun, 27 Dec 2020 17:51:50 +0900 (JST)
Subject: [ruby-changes:64625] ecfbd97292 (master): win32: Removed never used/worked functions

https://git.ruby-lang.org/ruby.git/commit/?id=ecfbd97292

From ecfbd97292fcdf052049a60cae4408750ed27c93 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 27 Dec 2020 16:38:08 +0900
Subject: win32: Removed never used/worked functions

Almost certainly, these have never been used in external extension
libraries.  If any had, these would have had to be declared in
headers.

diff --git a/win32/win32.c b/win32/win32.c
index d04985e..27f2d9c 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -4211,6 +4211,7 @@ freeifaddrs(struct ifaddrs *ifp) https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L4211
 }
 #endif
 
+#if 0 // Have never been used
 //
 // Networking stubs
 //
@@ -4237,6 +4238,7 @@ void setnetent (int stayopen) {} https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L4238
 void setprotoent (int stayopen) {}
 
 void setservent (int stayopen) {}
+#endif
 
 /* License: Ruby's */
 static int
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]