Andrew Talbot : gdi32: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 9 06:10:38 CST 2007


Module: wine
Branch: master
Commit: 21ebf42f83b96995093cbd792afdc24fac89f637
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=21ebf42f83b96995093cbd792afdc24fac89f637

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Jan  8 20:19:46 2007 +0000

gdi32: Declare some functions static.

---

 dlls/gdi32/mapping.c  |    2 +-
 dlls/gdi32/printdrv.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/mapping.c b/dlls/gdi32/mapping.c
index 8aeb480..33ba1cb 100644
--- a/dlls/gdi32/mapping.c
+++ b/dlls/gdi32/mapping.c
@@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdi);
  *
  * 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 --git a/dlls/gdi32/printdrv.c b/dlls/gdi32/printdrv.c
index f2e1951..caf4e14 100644
--- a/dlls/gdi32/printdrv.c
+++ b/dlls/gdi32/printdrv.c
@@ -439,7 +439,7 @@ typedef struct PRINTJOB
 #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-cvs mailing list