From a87f3d84a4930bbb22ad8caa83b43c1569bfd7c9 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 11 Oct 2002 02:31:19 +0000 Subject: Made some functions static as they should not be used from outside. --- win32/PlatWin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32') diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 3bfd923ae..55d31ef32 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -107,7 +107,7 @@ void Palette::Allocate(Window &) { } } -void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, bool bold, bool italic) { +static void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, bool bold, bool italic) { memset(&lf, 0, sizeof(lf)); // The negative is to allow for leading lf.lfHeight = -(abs(size)); @@ -122,7 +122,7 @@ void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, b * If one font is the same as another, its hash will be the same, but if the hash is the * same then they may still be different. */ -int HashFont(const char *faceName, int characterSet, int size, bool bold, bool italic) { +static int HashFont(const char *faceName, int characterSet, int size, bool bold, bool italic) { return size ^ (characterSet << 10) ^ -- cgit v1.2.3