Alexandre Julliard : winspool.drv: Make some functions static.

Alexandre Julliard julliard at winehq.org
Tue Dec 2 11:02:03 CST 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec  2 15:26:19 2008 +0100

winspool.drv: Make some functions static.

---

 dlls/winspool.drv/info.c   |    2 +-
 dlls/winspool.drv/wspool.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 179ad04..6e6b4ad 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -7632,7 +7632,7 @@ static BOOL schedule_cups(LPCWSTR printer_name, LPCWSTR filename, LPCWSTR docume
     }
 }
 
-INT_PTR CALLBACK file_dlg_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
+static INT_PTR CALLBACK file_dlg_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
 {
     LPWSTR filename;
 
diff --git a/dlls/winspool.drv/wspool.c b/dlls/winspool.drv/wspool.c
index 1685573..54f921d 100644
--- a/dlls/winspool.drv/wspool.c
+++ b/dlls/winspool.drv/wspool.c
@@ -108,7 +108,7 @@ BOOL load_backend(void)
  * unload_backend [internal]
  *
  */
-void unload_backend(void)
+static void unload_backend(void)
 {
     EnterCriticalSection(&backend_cs);
     backend = NULL;




More information about the wine-cvs mailing list