summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-29 14:56:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-29 14:56:52 +0000
commitf9368f65b108264889d54855e687334f7e84f092 (patch)
treeb42c6ad1ddc40934761f4beeef5c4a8d1c41aa95 /include/ruby/win32.h
parentafde2e8d051c4bdfb62a5c31ad7c9425a4e5c4dc (diff)
win32.c: rb_w32_inet_ntop should be const
* win32/win32.c (rb_w32_inet_ntop): type should be const. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 7cbdb88..718da13 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -266,7 +266,7 @@ extern int rb_w32_urename(const char *, const char *);
extern char **rb_w32_get_environ(void);
extern void rb_w32_free_environ(char **);
extern int rb_w32_map_errno(DWORD);
-extern char * WSAAPI rb_w32_inet_ntop(int,const void *,char *,size_t);
+extern const char *WSAAPI rb_w32_inet_ntop(int,const void *,char *,size_t);
extern DWORD rb_w32_osver(void);
extern int chown(const char *, int, int);