James Hawkins : advpack: Make internal functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 9 14:05:06 CDT 2006


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

Author: James Hawkins <truiken at gmail.com>
Date:   Mon Oct  9 00:04:08 2006 -0700

advpack: Make internal functions static.

---

 dlls/advpack/files.c   |    8 ++++----
 dlls/advpack/install.c |    6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/advpack/files.c b/dlls/advpack/files.c
index 5e7691b..de39bba 100644
--- a/dlls/advpack/files.c
+++ b/dlls/advpack/files.c
@@ -165,14 +165,14 @@ HRESULT WINAPI AddDelBackupEntryW(LPCWST
 /* FIXME: this is only for the local case, X:\ */
 #define ROOT_LENGTH 3
 
-UINT CALLBACK pQuietQueueCallback(PVOID Context, UINT Notification,
-                                  UINT_PTR Param1, UINT_PTR Param2)
+static UINT CALLBACK pQuietQueueCallback(PVOID Context, UINT Notification,
+                                         UINT_PTR Param1, UINT_PTR Param2)
 {
     return 1;
 }
 
-UINT CALLBACK pQueueCallback(PVOID Context, UINT Notification,
-                             UINT_PTR Param1, UINT_PTR Param2)
+static UINT CALLBACK pQueueCallback(PVOID Context, UINT Notification,
+                                    UINT_PTR Param1, UINT_PTR Param2)
 {
     /* only be verbose for error notifications */
     if (!Notification ||
diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c
index 1662f1d..d63a959 100644
--- a/dlls/advpack/install.c
+++ b/dlls/advpack/install.c
@@ -425,8 +425,8 @@ static HRESULT get_working_dir(ADVInfo *
 }
 
 /* loads the INF file and performs checks on it */
-HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
-                     LPCWSTR working_dir, DWORD flags, ADVInfo *info)
+static HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
+                            LPCWSTR working_dir, DWORD flags, ADVInfo *info)
 {
     DWORD len;
     HRESULT hr;
@@ -500,7 +500,7 @@ HRESULT install_init(LPCWSTR inf_filenam
 }
 
 /* release the install instance information */
-void install_release(ADVInfo *info)
+static void install_release(ADVInfo *info)
 {
     if (info->hinf && info->hinf != INVALID_HANDLE_VALUE)
         SetupCloseInfFile(info->hinf);




More information about the wine-cvs mailing list