Commit in reactos/include on MAIN | |||
sockets.h | -5 | 1.3 -> 1.4 |
Remove bad declaration of htons
diff -u -r1.3 -r1.4 --- sockets.h 8 Sep 2002 10:22:28 -0000 1.3 +++ sockets.h 22 Dec 2004 22:57:19 -0000 1.4 @@ -771,12 +771,7 @@
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);