1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

More preparatory work: remove the <windows.h> include from lots of

source files in which it's no longer required (it was previously
required in anything that included <putty.h>, but not any more).
Also moved a couple of stray bits of exposed WinSock back into
winnet.c (getservbyname from ssh.c and AF_INET from proxy.c).

[originally from svn r2160]
This commit is contained in:
Simon Tatham
2002-10-30 17:57:31 +00:00
parent 78c69239f1
commit 52bdffbfe0
14 changed files with 51 additions and 47 deletions

View File

@ -1,4 +1,3 @@
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
@ -890,7 +889,7 @@ static Socket telnet_socket(void *handle)
static int telnet_sendok(void *handle)
{
Telnet telnet = (Telnet) handle;
/* Telnet telnet = (Telnet) handle; */
return 1;
}
@ -923,7 +922,7 @@ static void telnet_provide_logctx(void *handle, void *logctx)
static int telnet_exitcode(void *handle)
{
Telnet telnet = (Telnet) handle;
/* Telnet telnet = (Telnet) handle; */
/* Telnet doesn't transmit exit codes back to the client */
return 0;
}