1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Alexey Savelyev's mkfiles.pl patch to support lcc-win32. This has

caused a small amount of extra inconvenience at the tops of .rc
files, but it's been positive overall since lcc has managed to point
out some pedantic errors (typically static/extern mismatches between
function prototypes and definitions) which everything else missed.

[originally from svn r3744]
This commit is contained in:
Simon Tatham
2004-01-20 20:35:27 +00:00
parent bb2ee13a8a
commit f6adc8a9e1
8 changed files with 86 additions and 6 deletions

View File

@ -110,7 +110,6 @@ static struct unicode_data ucsdata;
static int session_closed;
static const struct telnet_special *specials;
static int specials_menu_position;
static struct {
HMENU menu;
@ -4601,7 +4600,7 @@ char *get_window_title(void *frontend, int icon)
/*
* See if we're in full-screen mode.
*/
int is_full_screen()
static int is_full_screen()
{
if (!IsZoomed(hwnd))
return FALSE;
@ -4640,7 +4639,7 @@ static int get_fullscreen_rect(RECT * ss)
* Go full-screen. This should only be called when we are already
* maximised.
*/
void make_full_screen()
static void make_full_screen()
{
DWORD style;
RECT ss;
@ -4674,7 +4673,7 @@ void make_full_screen()
/*
* Clear the full-screen attributes.
*/
void clear_full_screen()
static void clear_full_screen()
{
DWORD oldstyle, style;
@ -4704,7 +4703,7 @@ void clear_full_screen()
/*
* Toggle full-screen mode.
*/
void flip_full_screen()
static void flip_full_screen()
{
if (is_full_screen()) {
ShowWindow(hwnd, SW_RESTORE);