Commit 8b9ad4d3 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advpack: Make internal functions static.

parent e020eced
...@@ -165,14 +165,14 @@ HRESULT WINAPI AddDelBackupEntryW(LPCWSTR lpcszFileList, LPCWSTR lpcszBackupDir, ...@@ -165,14 +165,14 @@ HRESULT WINAPI AddDelBackupEntryW(LPCWSTR lpcszFileList, LPCWSTR lpcszBackupDir,
/* FIXME: this is only for the local case, X:\ */ /* FIXME: this is only for the local case, X:\ */
#define ROOT_LENGTH 3 #define ROOT_LENGTH 3
UINT CALLBACK pQuietQueueCallback(PVOID Context, UINT Notification, static UINT CALLBACK pQuietQueueCallback(PVOID Context, UINT Notification,
UINT_PTR Param1, UINT_PTR Param2) UINT_PTR Param1, UINT_PTR Param2)
{ {
return 1; return 1;
} }
UINT CALLBACK pQueueCallback(PVOID Context, UINT Notification, static UINT CALLBACK pQueueCallback(PVOID Context, UINT Notification,
UINT_PTR Param1, UINT_PTR Param2) UINT_PTR Param1, UINT_PTR Param2)
{ {
/* only be verbose for error notifications */ /* only be verbose for error notifications */
if (!Notification || if (!Notification ||
......
...@@ -425,8 +425,8 @@ static HRESULT get_working_dir(ADVInfo *info, LPCWSTR inf_filename, LPCWSTR work ...@@ -425,8 +425,8 @@ static HRESULT get_working_dir(ADVInfo *info, LPCWSTR inf_filename, LPCWSTR work
} }
/* loads the INF file and performs checks on it */ /* loads the INF file and performs checks on it */
HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec, static HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
LPCWSTR working_dir, DWORD flags, ADVInfo *info) LPCWSTR working_dir, DWORD flags, ADVInfo *info)
{ {
DWORD len; DWORD len;
HRESULT hr; HRESULT hr;
...@@ -500,7 +500,7 @@ HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec, ...@@ -500,7 +500,7 @@ HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
} }
/* release the install instance information */ /* release the install instance information */
void install_release(ADVInfo *info) static void install_release(ADVInfo *info)
{ {
if (info->hinf && info->hinf != INVALID_HANDLE_VALUE) if (info->hinf && info->hinf != INVALID_HANDLE_VALUE)
SetupCloseInfFile(info->hinf); SetupCloseInfFile(info->hinf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment