wineps.drv: Declare some functions static
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Feb 5 15:24:35 CST 2007
Changelog:
wineps.drv: Declare some functions static.
diff -urN a/dlls/wineps.drv/driver.c b/dlls/wineps.drv/driver.c
--- a/dlls/wineps.drv/driver.c 2006-10-13 11:27:20.000000000 +0100
+++ b/dlls/wineps.drv/driver.c 2007-02-05 18:56:48.000000000 +0000
@@ -195,8 +195,8 @@
*
* 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 -urN a/dlls/wineps.drv/escape.c b/dlls/wineps.drv/escape.c
--- a/dlls/wineps.drv/escape.c 2006-11-17 20:11:48.000000000 +0000
+++ b/dlls/wineps.drv/escape.c 2007-02-05 18:57:18.000000000 +0000
@@ -381,7 +381,7 @@
/************************************************************************
* 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 -urN a/dlls/wineps.drv/ppd.c b/dlls/wineps.drv/ppd.c
--- a/dlls/wineps.drv/ppd.c 2006-08-23 22:38:24.000000000 +0100
+++ b/dlls/wineps.drv/ppd.c 2007-02-05 18:57:37.000000000 +0000
@@ -467,7 +467,7 @@
* 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-patches
mailing list