From 0a7987564c829c1061371954a10cefb2250d0ae2 Mon Sep 17 00:00:00 2001 From: Mike Nordell Date: Wed, 22 Dec 2004 22:57:19 +0000 Subject: [PATCH] Remove bad declaration of htons svn path=/trunk/; revision=12293 --- reactos/include/sockets.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/reactos/include/sockets.h b/reactos/include/sockets.h index 11a8f51ac84..132351f85e1 100644 --- a/reactos/include/sockets.h +++ b/reactos/include/sockets.h @@ -771,12 +771,7 @@ int PASCAL getsockopt (SOCKET s, int level, int optname, u_long PASCAL htonl (u_long hostlong); -/* For some reason WSOCK.LIB has htons defined as a 4 byte paramter?! */ -#ifdef _WIN32 -u_short PASCAL htons (u_long hostshort); -#else u_short PASCAL htons (u_short hostshort); -#endif /* _WIN32 */ unsigned long PASCAL inet_addr (const char * cp);