Andrew Talbot : wineps.drv: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 6 08:03:30 CST 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Feb  5 21:24:35 2007 +0000

wineps.drv: Declare some functions static.

---

 dlls/wineps.drv/driver.c |    4 ++--
 dlls/wineps.drv/escape.c |    2 +-
 dlls/wineps.drv/ppd.c    |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wineps.drv/driver.c b/dlls/wineps.drv/driver.c
index e096bf6..fececd7 100644
--- a/dlls/wineps.drv/driver.c
+++ b/dlls/wineps.drv/driver.c
@@ -195,8 +195,8 @@ WORD WINAPI PSDRV_AdvancedSetupDialog16(
  *
  * Dialog proc for 'Paper' propsheet
  */
-INT_PTR CALLBACK PSDRV_PaperDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
-			       lParam)
+static INT_PTR CALLBACK PSDRV_PaperDlgProc(HWND hwnd, UINT msg,
+                                           WPARAM wParam, LPARAM lParam)
 {
   PSDRV_DLGINFO *di;
   int i, Cursel = 0;
diff --git a/dlls/wineps.drv/escape.c b/dlls/wineps.drv/escape.c
index dcc972e..3e5de7f 100644
--- a/dlls/wineps.drv/escape.c
+++ b/dlls/wineps.drv/escape.c
@@ -381,7 +381,7 @@ INT PSDRV_EndPage( PSDRV_PDEVICE *physDe
 /************************************************************************
  *           PSDRV_StartDocA
  */
-INT PSDRV_StartDocA( PSDRV_PDEVICE *physDev, const DOCINFOA *doc )
+static INT PSDRV_StartDocA( PSDRV_PDEVICE *physDev, const DOCINFOA *doc )
 {
     LPCSTR output = "LPT1:";
     BYTE buf[300];
diff --git a/dlls/wineps.drv/ppd.c b/dlls/wineps.drv/ppd.c
index 0b17bce..9b7169b 100644
--- a/dlls/wineps.drv/ppd.c
+++ b/dlls/wineps.drv/ppd.c
@@ -467,7 +467,7 @@ static BOOL PSDRV_PPDGetNextTuple(FILE *
  * entry which is appended to the list if name is not found.
  *
  */
-PAGESIZE *PSDRV_PPDGetPageSizeInfo(PPD *ppd, char *name)
+static PAGESIZE *PSDRV_PPDGetPageSizeInfo(PPD *ppd, char *name)
 {
     PAGESIZE *page = ppd->PageSizes, *lastpage;
 




More information about the wine-cvs mailing list