summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/win32/lib/win32/resolv.rb2
-rw-r--r--ext/win32/resolv/resolv.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/win32/lib/win32/resolv.rb b/ext/win32/lib/win32/resolv.rb
index 8d631a2140..01e1bda351 100644
--- a/ext/win32/lib/win32/resolv.rb
+++ b/ext/win32/lib/win32/resolv.rb
@@ -7,7 +7,7 @@
require 'win32/resolv.so'
module Win32
- module Resolv
+ module Resolv # :nodoc:
# Error at Win32 API
class Error < StandardError
# +code+ Win32 Error code
diff --git a/ext/win32/resolv/resolv.c b/ext/win32/resolv/resolv.c
index b2d377df9f..9150df5dc1 100644
--- a/ext/win32/resolv/resolv.c
+++ b/ext/win32/resolv/resolv.c
@@ -53,6 +53,7 @@ wchar_to_utf8(const WCHAR *w, int n)
return str;
}
+/* :nodoc: */
static VALUE
get_dns_server_list(VALUE self)
{
@@ -81,7 +82,6 @@ get_dns_server_list(VALUE self)
return nameservers;
}
-
static const WCHAR TCPIP_Params[] = L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters";
static void
@@ -116,6 +116,7 @@ reg_open_key(VALUE klass, HKEY hkey, const WCHAR *wname)
return rb_ensure(rb_yield, k, hkey_close, k);
}
+/* :nodoc: */
static VALUE
tcpip_params_open(VALUE klass)
{