mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 06:38:37 -05:00
Pedantry patch from RDB: sanitise header use, correct one comment
and remove an unused variable. [originally from svn r1243]
This commit is contained in:
parent
eebec27c99
commit
3c74c01014
@ -1,3 +1,4 @@
|
|||||||
|
#error "This file is no longer part of PuTTY, it will not compile."
|
||||||
#define _WIN32_WINNT 0x0400
|
#define _WIN32_WINNT 0x0400
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
3
scp.c
3
scp.c
@ -22,9 +22,6 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
/* GUI Adaptation - Sept 2000 */
|
|
||||||
#include <winuser.h>
|
|
||||||
#include <winbase.h>
|
|
||||||
|
|
||||||
#define PUTTY_DO_GLOBALS
|
#define PUTTY_DO_GLOBALS
|
||||||
#include "putty.h"
|
#include "putty.h"
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winreg.h>
|
|
||||||
#include <tchar.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <tchar.h>
|
||||||
|
|
||||||
#include "putty.h"
|
#include "putty.h"
|
||||||
#include "winstuff.h"
|
#include "winstuff.h"
|
||||||
|
10
sshzlib.c
10
sshzlib.c
@ -40,13 +40,13 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
/* FIXME */
|
|
||||||
#include <windows.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include "putty.h"
|
|
||||||
|
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
|
|
||||||
|
#ifndef FALSE
|
||||||
|
#define FALSE 0
|
||||||
|
#define TRUE (!FALSE)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
* Basic LZ77 code. This bit is designed modularly, so it could be
|
* Basic LZ77 code. This bit is designed modularly, so it could be
|
||||||
* ripped out and used in a different LZ77 compressor. Go to it,
|
* ripped out and used in a different LZ77 compressor. Go to it,
|
||||||
|
@ -16,7 +16,7 @@ static void get_unitab(int codepage, wchar_t * unitab, int ftype);
|
|||||||
|
|
||||||
/* Character conversion arrays; they are usually taken from windows,
|
/* Character conversion arrays; they are usually taken from windows,
|
||||||
* the xterm one has the four scanlines that have no unicode 2.0
|
* the xterm one has the four scanlines that have no unicode 2.0
|
||||||
* equlivents mapped into the private area.
|
* equivalents mapped to their unicode 3.0 locations.
|
||||||
*/
|
*/
|
||||||
static char **uni_tbl;
|
static char **uni_tbl;
|
||||||
|
|
||||||
@ -267,7 +267,7 @@ void init_ucs_tables(void)
|
|||||||
int i, j;
|
int i, j;
|
||||||
int used_dtf = 0;
|
int used_dtf = 0;
|
||||||
char tbuf[256];
|
char tbuf[256];
|
||||||
int old_codepage = line_codepage;
|
|
||||||
for (i = 0; i < 256; i++)
|
for (i = 0; i < 256; i++)
|
||||||
tbuf[i] = i;
|
tbuf[i] = i;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user