summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-27 16:38:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-27 16:50:10 +0900
commitecfbd97292fcdf052049a60cae4408750ed27c93 (patch)
tree887622875cabfcbbd13def5ec46fbfebdbb3ce8b /win32
parent90dd482061ab014a6137c2df2239cc6106974dbb (diff)
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.
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 2 insertions, 0 deletions
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)
}
#endif
+#if 0 // Have never been used
//
// Networking stubs
//
@@ -4237,6 +4238,7 @@ void setnetent (int stayopen) {}
void setprotoent (int stayopen) {}
void setservent (int stayopen) {}
+#endif
/* License: Ruby's */
static int