From d5b434088ada94b3df3fe87ea42c98c3e6e9ee16 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 7 Dec 2004 16:36:29 +0000 Subject: * win32/win32.c (is_socket): reorder of function definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'win32/win32.c') diff --git a/win32/win32.c b/win32/win32.c index 3cab93b4f4..fd0f5a852c 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1654,12 +1654,6 @@ rb_w32_open_osfhandle(long osfhandle, int flags) #undef getsockopt -int -rb_w32_is_socket(int fd) -{ - return is_socket(TO_SOCKET(fd)); -} - static int is_socket(SOCKET sock) { @@ -1686,6 +1680,12 @@ is_socket(SOCKET sock) return result; } +int +rb_w32_is_socket(int fd) +{ + return is_socket(TO_SOCKET(fd)); +} + // // Since the errors returned by the socket error function // WSAGetLastError() are not known by the library routine strerror -- cgit v1.2.3