From a1bceddf2d4c1d48f67b8a403c15c7ca447a5a0a Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 5 Feb 2014 21:12:59 +0000 Subject: [PATCH] [DEVENUM][DSOUND] * Add header guards to the main headers. CORE-7716 svn path=/trunk/; revision=61998 --- reactos/dll/directx/wine/devenum/devenum_private.h | 5 +++++ reactos/dll/directx/wine/dsound/dsound_private.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/reactos/dll/directx/wine/devenum/devenum_private.h b/reactos/dll/directx/wine/devenum/devenum_private.h index 7c1a661bf00..35d4d46ba90 100644 --- a/reactos/dll/directx/wine/devenum/devenum_private.h +++ b/reactos/dll/directx/wine/devenum/devenum_private.h @@ -22,6 +22,9 @@ * - Private file where devenum globals are declared */ +#ifndef __WINE_DEVENUM_H +#define __WINE_DEVENUM_H + #ifndef RC_INVOKED #include #endif @@ -91,3 +94,5 @@ HRESULT DEVENUM_GetCategoryKey(REFCLSID clsidDeviceClass, HKEY *pBaseKey, WCHAR extern const WCHAR clsid_keyname[6]; extern const WCHAR wszInstanceKeyName[]; #define CLSID_STR_LEN (sizeof(clsid_keyname) / sizeof(WCHAR)) + +#endif /* __WINE_DEVENUM_H */ diff --git a/reactos/dll/directx/wine/dsound/dsound_private.h b/reactos/dll/directx/wine/dsound/dsound_private.h index 7a1d901f975..0b5fde9b82c 100644 --- a/reactos/dll/directx/wine/dsound/dsound_private.h +++ b/reactos/dll/directx/wine/dsound/dsound_private.h @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#ifndef _DSOUND_PRIVATE_H_ +#define _DSOUND_PRIVATE_H_ + #include #include @@ -290,3 +293,5 @@ BOOL DSOUND_check_supported(IAudioClient *client, DWORD rate, UINT DSOUND_create_timer(LPTIMECALLBACK cb, DWORD_PTR user) DECLSPEC_HIDDEN; HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids, LPDSENUMCALLBACKW cb, void *user) DECLSPEC_HIDDEN; + +#endif /* _DSOUND_PRIVATE_H_ */ -- 2.17.1