Andrew Talbot : qmgr: Constify some variables.
Alexandre Julliard
julliard at winehq.org
Fri Jun 20 06:22:05 CDT 2008
Module: wine
Branch: master
Commit: e9d1d5d087a524c2ab65f7529a397ce94081a6aa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e9d1d5d087a524c2ab65f7529a397ce94081a6aa
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Thu Jun 19 22:51:55 2008 +0100
qmgr: Constify some variables.
---
dlls/qmgr/file.c | 2 +-
dlls/qmgr/service.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/qmgr/file.c b/dlls/qmgr/file.c
index 1ca1bf3..622f7a2 100644
--- a/dlls/qmgr/file.c
+++ b/dlls/qmgr/file.c
@@ -368,7 +368,7 @@ static DLBindStatusCallback *DLBindStatusCallbackConstructor(
BOOL processFile(BackgroundCopyFileImpl *file, BackgroundCopyJobImpl *job)
{
- static WCHAR prefix[] = {'B','I','T', 0};
+ static const WCHAR prefix[] = {'B','I','T', 0};
IBindStatusCallback *callbackObj;
WCHAR tmpDir[MAX_PATH];
WCHAR tmpName[MAX_PATH];
diff --git a/dlls/qmgr/service.c b/dlls/qmgr/service.c
index 50d5156..b00a922 100644
--- a/dlls/qmgr/service.c
+++ b/dlls/qmgr/service.c
@@ -30,7 +30,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(qmgr);
HANDLE stop_event = NULL;
-static WCHAR qmgr_nameW[] = {'B','I','T','S',0};
static SERVICE_STATUS_HANDLE status_handle;
static SERVICE_STATUS status;
@@ -110,6 +109,7 @@ VOID WINAPI
ServiceMain(DWORD dwArgc, LPWSTR *lpszArgv)
{
HANDLE fileTxThread;
+ static const WCHAR qmgr_nameW[] = {'B','I','T','S',0};
DWORD threadId;
TRACE("\n");
More information about the wine-cvs
mailing list