mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 13:02:47 -05:00
Tighten up use of "static" throughout. Module-internal things should NOT
be exported willy-nilly. It encourages people to use them. [originally from svn r677]
This commit is contained in:
15
sizetip.c
15
sizetip.c
@ -6,13 +6,14 @@
|
||||
|
||||
#include "putty.h"
|
||||
|
||||
ATOM tip_class = 0;
|
||||
static ATOM tip_class = 0;
|
||||
|
||||
HFONT tip_font;
|
||||
COLORREF tip_bg;
|
||||
COLORREF tip_text;
|
||||
static HFONT tip_font;
|
||||
static COLORREF tip_bg;
|
||||
static COLORREF tip_text;
|
||||
|
||||
LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam)
|
||||
static LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg,
|
||||
WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
||||
switch (nMsg) {
|
||||
@ -86,8 +87,8 @@ LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar
|
||||
return DefWindowProc(hWnd, nMsg, wParam, lParam);
|
||||
}
|
||||
|
||||
HWND tip_wnd = NULL;
|
||||
int tip_enabled = 0;
|
||||
static HWND tip_wnd = NULL;
|
||||
static int tip_enabled = 0;
|
||||
|
||||
void UpdateSizeTip(HWND src, int cx, int cy)
|
||||
{
|
||||
|
Reference in New Issue
Block a user