gdi32: Declare some functions static
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Jan 8 14:19:46 CST 2007
Changelog:
gdi32: Declare some functions static.
diff -urN a/dlls/gdi32/mapping.c b/dlls/gdi32/mapping.c
--- a/dlls/gdi32/mapping.c 2006-11-17 20:11:46.000000000 +0000
+++ b/dlls/gdi32/mapping.c 2007-01-08 19:38:53.000000000 +0000
@@ -35,7 +35,7 @@
*
* Fix viewport extensions for isotropic mode.
*/
-void MAPPING_FixIsotropic( DC * dc )
+static void MAPPING_FixIsotropic( DC * dc )
{
double xdim = fabs((double)dc->vportExtX * GetDeviceCaps( dc->hSelf, HORZSIZE ) /
(GetDeviceCaps( dc->hSelf, HORZRES ) * dc->wndExtX));
diff -urN a/dlls/gdi32/printdrv.c b/dlls/gdi32/printdrv.c
--- a/dlls/gdi32/printdrv.c 2006-11-17 20:11:46.000000000 +0000
+++ b/dlls/gdi32/printdrv.c 2007-01-08 20:08:20.000000000 +0000
@@ -439,7 +439,7 @@
#define MAX_PRINT_JOBS 1
#define SP_OK 1
-PPRINTJOB gPrintJobsTable[MAX_PRINT_JOBS];
+static PPRINTJOB gPrintJobsTable[MAX_PRINT_JOBS];
static PPRINTJOB FindPrintJobFromHandle(HANDLE16 hHandle)
More information about the wine-patches
mailing list