[PATCH] dsound: mark enum_callback and search_callback static

Marcus Meissner meissner at suse.de
Mon Oct 3 06:24:12 CDT 2011


---
 dlls/dsound/propset.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c
index af9b26d..242b237 100644
--- a/dlls/dsound/propset.c
+++ b/dlls/dsound/propset.c
@@ -111,7 +111,7 @@ struct search_data {
     GUID *found_guid;
 };
 
-BOOL CALLBACK search_callback(GUID *guid, const WCHAR *desc,
+static BOOL CALLBACK search_callback(GUID *guid, const WCHAR *desc,
         const WCHAR *module, void *user)
 {
     struct search_data *search = user;
@@ -276,6 +276,7 @@ static HRESULT DSPROPERTY_DescriptionW(
     return S_OK;
 }
 
+static
 BOOL CALLBACK enum_callback(GUID *guid, const WCHAR *desc, const WCHAR *module,
         void *user)
 {
-- 
1.7.1




More information about the wine-patches mailing list