winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
December 2006
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
4 participants
720 discussions
Start a n
N
ew thread
Dmitry Timoshkov : rpcrt4: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: 8c3fdfea42dbac50ff3a9f049e1737fcc374ed92 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8c3fdfea42dbac50ff3a9f049…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:47:33 2006 +0800 rpcrt4: Make some data const. --- dlls/rpcrt4/rpc_transport.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index 4382a8b..f8091da 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -193,7 +193,7 @@ static RPC_STATUS rpcrt4_conn_open_pipe( static RPC_STATUS rpcrt4_ncalrpc_open(RpcConnection* Connection) { RpcConnection_np *npc = (RpcConnection_np *) Connection; - static LPCSTR prefix = "\\\\.\\pipe\\lrpc\\"; + static const char prefix[] = "\\\\.\\pipe\\lrpc\\"; RPC_STATUS r; LPSTR pname; @@ -213,7 +213,7 @@ static RPC_STATUS rpcrt4_ncalrpc_open(Rp static RPC_STATUS rpcrt4_protseq_ncalrpc_open_endpoint(RpcServerProtseq* protseq, LPSTR endpoint) { - static LPCSTR prefix = "\\\\.\\pipe\\lrpc\\"; + static const char prefix[] = "\\\\.\\pipe\\lrpc\\"; RPC_STATUS r; LPSTR pname; RpcConnection *Connection; @@ -241,7 +241,7 @@ static RPC_STATUS rpcrt4_protseq_ncalrpc static RPC_STATUS rpcrt4_ncacn_np_open(RpcConnection* Connection) { RpcConnection_np *npc = (RpcConnection_np *) Connection; - static LPCSTR prefix = "\\\\."; + static const char prefix[] = "\\\\."; RPC_STATUS r; LPSTR pname; @@ -260,7 +260,7 @@ static RPC_STATUS rpcrt4_ncacn_np_open(R static RPC_STATUS rpcrt4_protseq_ncacn_np_open_endpoint(RpcServerProtseq *protseq, LPSTR endpoint) { - static LPCSTR prefix = "\\\\."; + static const char prefix[] = "\\\\."; RPC_STATUS r; LPSTR pname; RpcConnection *Connection; @@ -295,7 +295,7 @@ static RPC_STATUS rpcrt4_ncacn_np_handof { RPC_STATUS status; LPSTR pname; - static LPCSTR prefix = "\\\\."; + static const char prefix[] = "\\\\."; rpcrt4_conn_np_handoff((RpcConnection_np *)old_conn, (RpcConnection_np *)new_conn); @@ -311,7 +311,7 @@ static RPC_STATUS rpcrt4_ncalrpc_handoff { RPC_STATUS status; LPSTR pname; - static LPCSTR prefix = "\\\\.\\pipe\\lrpc\\"; + static const char prefix[] = "\\\\.\\pipe\\lrpc\\"; TRACE("%s\n", old_conn->Endpoint);
1
0
0
0
Dmitry Timoshkov : msvcrt: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: ffa84441c8ce7a172bc23b8b787e10b8350f1032 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ffa84441c8ce7a172bc23b8b7…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:47:24 2006 +0800 msvcrt: Make some data const. --- dlls/msvcrt/exit.c | 2 +- dlls/msvcrt/locale.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c index 34e97e4..fecbf10 100644 --- a/dlls/msvcrt/exit.c +++ b/dlls/msvcrt/exit.c @@ -33,7 +33,7 @@ static MSVCRT__onexit_t *MSVCRT_atexit_t static int MSVCRT_atexit_table_size = 0; static int MSVCRT_atexit_registered = 0; /* Points to free slot */ -static LPCSTR szMsgBoxTitle = "Wine C++ Runtime Library"; +static const char szMsgBoxTitle[] = "Wine C++ Runtime Library"; extern int MSVCRT_app_type; extern char *MSVCRT__pgmptr; diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c index 32d73d0..aea5488 100644 --- a/dlls/msvcrt/locale.c +++ b/dlls/msvcrt/locale.c @@ -65,7 +65,7 @@ extern unsigned char MSVCRT_mbctype[257] /* Friendly country strings & iso codes for synonym support. * Based on MS documentation for setlocale(). */ -static const char* _country_synonyms[] = +static const char * const _country_synonyms[] = { "Hong Kong","HK", "Hong-Kong","HK", @@ -484,7 +484,7 @@ MSVCRT_wchar_t* CDECL MSVCRT__wsetlocale */ const char* CDECL _Getdays(void) { - static const char *MSVCRT_days = ":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:" + static const char MSVCRT_days[] = ":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:" "Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday"; /* FIXME: Use locale */ TRACE("(void) semi-stub\n"); @@ -496,7 +496,7 @@ const char* CDECL _Getdays(void) */ const char* CDECL _Getmonths(void) { - static const char *MSVCRT_months = ":Jan:January:Feb:February:Mar:March:Apr:" + static const char MSVCRT_months[] = ":Jan:January:Feb:February:Mar:March:Apr:" "April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:" "October:Nov:November:Dec:December"; /* FIXME: Use locale */
1
0
0
0
Dmitry Timoshkov : dswave: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: 54aae9883810d75bf72a54e1d3639d893d3c001e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=54aae9883810d75bf72a54e1d…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:47:14 2006 +0800 dswave: Make some data const. --- dlls/dswave/dswave_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/dswave/dswave_main.c b/dlls/dswave/dswave_main.c index 37f9e4c..d919de8 100644 --- a/dlls/dswave/dswave_main.c +++ b/dlls/dswave/dswave_main.c @@ -69,7 +69,7 @@ static HRESULT WINAPI WaveCF_LockServer( return S_OK; } -static IClassFactoryVtbl WaveCF_Vtbl = { +static const IClassFactoryVtbl WaveCF_Vtbl = { WaveCF_QueryInterface, WaveCF_AddRef, WaveCF_Release,
1
0
0
0
Dmitry Timoshkov : crypt32: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: 8330bd6c26f3a46feb8a521747d834e9b8c9796a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8330bd6c26f3a46feb8a52174…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:46:40 2006 +0800 crypt32: Make some data const. --- dlls/crypt32/store.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c index fab7b78..8c8cda5 100644 --- a/dlls/crypt32/store.c +++ b/dlls/crypt32/store.c @@ -1057,7 +1057,7 @@ static void CRYPT_RegReadSerializedFromR static void CRYPT_RegReadFromReg(PWINE_REGSTOREINFO store) { - static const WCHAR *subKeys[] = { CertsW, CRLsW, CTLsW }; + static const WCHAR * const subKeys[] = { CertsW, CRLsW, CTLsW }; static const DWORD contextFlags[] = { CERT_STORE_CERTIFICATE_CONTEXT_FLAG, CERT_STORE_CRL_CONTEXT_FLAG, CERT_STORE_CTL_CONTEXT_FLAG }; DWORD i; @@ -1146,8 +1146,8 @@ static BOOL CRYPT_SerializeContextsToReg static BOOL CRYPT_RegWriteToReg(PWINE_REGSTOREINFO store) { - static const WCHAR *subKeys[] = { CertsW, CRLsW, CTLsW }; - static const WINE_CONTEXT_INTERFACE *interfaces[] = { &gCertInterface, + static const WCHAR * const subKeys[] = { CertsW, CRLsW, CTLsW }; + static const WINE_CONTEXT_INTERFACE * const interfaces[] = { &gCertInterface, &gCRLInterface, &gCTLInterface }; struct list *listToDelete[] = { &store->certsToDelete, &store->crlsToDelete, NULL };
1
0
0
0
Dmitry Timoshkov : dplayx: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: b99e60e29f278472c512fd2d96fea87181809dbe URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b99e60e29f278472c512fd2d9…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:47:05 2006 +0800 dplayx: Make some data const. --- dlls/dplayx/dplayx_global.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dplayx/dplayx_global.c b/dlls/dplayx/dplayx_global.c index 9963361..99e0d8e 100644 --- a/dlls/dplayx/dplayx_global.c +++ b/dlls/dplayx/dplayx_global.c @@ -51,10 +51,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(dplay); /* FIXME: Need to do all that fun other dll referencing type of stuff */ /* Static data for all processes */ -static LPCSTR lpszDplayxSemaName = "WINE_DPLAYX_SM"; +static const char lpszDplayxSemaName[] = "WINE_DPLAYX_SM"; static HANDLE hDplayxSema; -static LPCSTR lpszDplayxFileMapping = "WINE_DPLAYX_FM"; +static const char lpszDplayxFileMapping[] = "WINE_DPLAYX_FM"; static HANDLE hDplayxSharedMem; static LPVOID lpSharedStaticData = NULL;
1
0
0
0
Dmitry Timoshkov : winearts: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: 0b988c73c92583b0fc35cb64b095c9cae762614b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0b988c73c92583b0fc35cb64b…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:46:23 2006 +0800 winearts: Make some data const. --- dlls/winmm/winearts/audio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/winmm/winearts/audio.c b/dlls/winmm/winearts/audio.c index fc7ff80..3e11a97 100644 --- a/dlls/winmm/winearts/audio.c +++ b/dlls/winmm/winearts/audio.c @@ -210,7 +210,7 @@ static DWORD wodDsCreate(UINT wDevID, PI static DWORD wodDsDesc(UINT wDevID, PDSDRIVERDESC desc); /* These strings used only for tracing */ -static const char *wodPlayerCmdString[] = { +static const char * const wodPlayerCmdString[] = { "WINE_WM_PAUSING", "WINE_WM_RESTARTING", "WINE_WM_RESETTING",
1
0
0
0
Dmitry Timoshkov : dmime: Make some data const and static.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: 56e725e152a6a8abb6e13a569b94ed6aaa6aea65 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=56e725e152a6a8abb6e13a569…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:46:57 2006 +0800 dmime: Make some data const and static. --- dlls/dmime/audiopath.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/dmime/audiopath.c b/dlls/dmime/audiopath.c index 150e490..3194244 100644 --- a/dlls/dmime/audiopath.c +++ b/dlls/dmime/audiopath.c @@ -622,7 +622,7 @@ static HRESULT WINAPI IDirectMusicAudioP return E_NOTIMPL; } -IPersistStreamVtbl DirectMusicAudioPath_PersistStream_Vtbl = { +static const IPersistStreamVtbl DirectMusicAudioPath_PersistStream_Vtbl = { IDirectMusicAudioPathImpl_IPersistStream_QueryInterface, IDirectMusicAudioPathImpl_IPersistStream_AddRef, IDirectMusicAudioPathImpl_IPersistStream_Release,
1
0
0
0
Dmitry Timoshkov : dbghelp: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: e7d620081f6020b3495b2a92477c12f62464403b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e7d620081f6020b3495b2a924…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:46:48 2006 +0800 dbghelp: Make some data const. --- dlls/dbghelp/module.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c index a58ee6f..ce1cc07 100644 --- a/dlls/dbghelp/module.c +++ b/dlls/dbghelp/module.c @@ -34,11 +34,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp); -static const char* ext[] = {".acm", ".dll", ".drv", ".exe", ".ocx", ".vxd", NULL}; +static const char * const ext[] = {".acm", ".dll", ".drv", ".exe", ".ocx", ".vxd", NULL}; static int match_ext(const char* ptr, size_t len) { - const char**e; + const char * const *e; size_t l; for (e = ext; *e; e++)
1
0
0
0
Dmitry Timoshkov : atl: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: 0be2a967dce9fa0f99d504aadede25cc72fe7cd7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0be2a967dce9fa0f99d504aad…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:46:31 2006 +0800 atl: Make some data const. --- dlls/atl/registrar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/atl/registrar.c b/dlls/atl/registrar.c index 2869e49..612ebda 100644 --- a/dlls/atl/registrar.c +++ b/dlls/atl/registrar.c @@ -44,7 +44,7 @@ static LONG dll_count; * ATLRegistrar implementation */ -static struct { +static const struct { WCHAR name[22]; HKEY key; } root_keys[] = {
1
0
0
0
Dmitry Timoshkov : wineoss: Make some data const.
by Alexandre Julliard
14 Dec '06
14 Dec '06
Module: wine Branch: master Commit: b05173486a12adaaa14d206da4c8f8aa3c9871c6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b05173486a12adaaa14d206da…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Dec 14 22:46:12 2006 +0800 wineoss: Make some data const. --- dlls/winmm/wineoss/midi.c | 4 ++-- dlls/winmm/wineoss/midipatch.c | 6 ++---- dlls/winmm/wineoss/mixer.c | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dlls/winmm/wineoss/midi.c b/dlls/winmm/wineoss/midi.c index 6b9cdf8..ffa7d86 100644 --- a/dlls/winmm/wineoss/midi.c +++ b/dlls/winmm/wineoss/midi.c @@ -1000,8 +1000,8 @@ typedef struct sFMextra { */ } sFMextra; -extern unsigned char midiFMInstrumentPatches[16 * 128]; -extern unsigned char midiFMDrumsPatches [16 * 128]; +extern const unsigned char midiFMInstrumentPatches[16 * 128]; +extern const unsigned char midiFMDrumsPatches [16 * 128]; /************************************************************************** * modFMLoad [internal] diff --git a/dlls/winmm/wineoss/midipatch.c b/dlls/winmm/wineoss/midipatch.c index e991e04..1180c6f 100644 --- a/dlls/winmm/wineoss/midipatch.c +++ b/dlls/winmm/wineoss/midipatch.c @@ -26,7 +26,7 @@ #define NOT_DEFINED 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -unsigned char midiFMInstrumentPatches[128 * 16] = { +const unsigned char midiFMInstrumentPatches[128 * 16] = { /* 0 Acoustic Grand Piano */ 0x21, 0x11, 0x4c, 0x00, 0xf1, 0xf2, 0x63, 0x72, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* 1 Bright Acoustic Piano */ 0x01, 0x11, 0x4f, 0x00, 0xf1, 0xd2, 0x53, 0x74, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, /* 2 Electric Grand Piano */ 0x01, 0x01, 0x4f, 0x04, 0xf1, 0xd2, 0x50, 0x7c, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -157,7 +157,7 @@ unsigned char midiFMInstrumentPatches[12 /* 127 Gunshot */ 0x0c, 0x50, 0x00, 0x21, 0xf8, 0x09, 0xb6, 0x04, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, }; -unsigned char midiFMDrumsPatches[16 * 128] = { +const unsigned char midiFMDrumsPatches[16 * 128] = { /* 1 Not defined */ NOT_DEFINED /* 2 Not defined */ NOT_DEFINED /* 3 Not defined */ NOT_DEFINED @@ -287,5 +287,3 @@ unsigned char midiFMDrumsPatches[16 * 12 /* 127 Not defined */ NOT_DEFINED /* 128 Not defined */ NOT_DEFINED }; - - diff --git a/dlls/winmm/wineoss/mixer.c b/dlls/winmm/wineoss/mixer.c index bce0628..a28305b 100644 --- a/dlls/winmm/wineoss/mixer.c +++ b/dlls/winmm/wineoss/mixer.c @@ -79,8 +79,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(mixer); /* FIXME: the two following string arrays should be moved to a resource file in a string table */ /* if it's done, better use a struct to hold labels, name, and muted channel volume cache */ -static const char* MIX_Labels[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_LABELS; -static const char* MIX_Names [SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; +static const char * const MIX_Labels[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_LABELS; +static const char * const MIX_Names [SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; struct mixerCtrl {
1
0
0
0
← Newer
1
...
32
33
34
35
36
37
38
...
72
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Results per page:
10
25
50
100
200