[PATCH 02/12] dsound: Global variable compatibility update for gcc 10

Andrew Eikum aeikum at codeweavers.com
Fri Jan 24 08:58:16 CST 2020


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Thu, Jan 23, 2020 at 05:05:20PM -0600, Michael Cronenworth wrote:
> https://gcc.gnu.org/gcc-10/porting_to.html#common
> 
> Signed-off-by: Michael Cronenworth <mike at cchtml.com>
> ---
>  dlls/dsound/dsound_private.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
> index 69c4a2f390..930c3e92ec 100644
> --- a/dlls/dsound/dsound_private.h
> +++ b/dlls/dsound/dsound_private.h
> @@ -188,9 +188,9 @@ HRESULT IDirectSoundBufferImpl_Duplicate(
>      IDirectSoundBufferImpl **ppdsb,
>      IDirectSoundBufferImpl *pdsb) DECLSPEC_HIDDEN;
>  void secondarybuffer_destroy(IDirectSoundBufferImpl *This) DECLSPEC_HIDDEN;
> -const IDirectSound3DListenerVtbl ds3dlvt DECLSPEC_HIDDEN;
> -const IDirectSound3DBufferVtbl ds3dbvt DECLSPEC_HIDDEN;
> -const IKsPropertySetVtbl iksbvt DECLSPEC_HIDDEN;
> +extern const IDirectSound3DListenerVtbl ds3dlvt DECLSPEC_HIDDEN;
> +extern const IDirectSound3DBufferVtbl ds3dbvt DECLSPEC_HIDDEN;
> +extern const IKsPropertySetVtbl iksbvt DECLSPEC_HIDDEN;
>  
>  HRESULT IKsPrivatePropertySetImpl_Create(REFIID riid, void **ppv) DECLSPEC_HIDDEN;
>  
> -- 
> 2.24.1
> 
> 



More information about the wine-devel mailing list