Matteo Bruni : d3dcompiler: Move skip_u32_unknown() declaration to utils.h.

Alexandre Julliard julliard at winehq.org
Wed Feb 9 16:03:50 CST 2022


Module: wine
Branch: master
Commit: a149fd4a56ee70d87c3c81859231971b1164adb9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a149fd4a56ee70d87c3c81859231971b1164adb9

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Feb  9 16:30:10 2022 +0100

d3dcompiler: Move skip_u32_unknown() declaration to utils.h.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d10/d3d10_private.h                | 2 --
 dlls/d3dcompiler_43/d3dcompiler_private.h | 2 --
 dlls/d3dcompiler_43/utils.h               | 2 ++
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h
index 9aabc2028e6..71037c740e0 100644
--- a/dlls/d3d10/d3d10_private.h
+++ b/dlls/d3d10/d3d10_private.h
@@ -312,8 +312,6 @@ struct d3d10_effect
 
 HRESULT d3d10_effect_parse(struct d3d10_effect *effect, const void *data, SIZE_T data_size) DECLSPEC_HIDDEN;
 
-void skip_u32_unknown(const char **ptr, unsigned int count) DECLSPEC_HIDDEN;
-
 /* D3D10Core */
 HRESULT WINAPI D3D10CoreCreateDevice(IDXGIFactory *factory, IDXGIAdapter *adapter,
         unsigned int flags, D3D_FEATURE_LEVEL feature_level, ID3D10Device **device);
diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h
index 08cdb515470..6dea5a08a85 100644
--- a/dlls/d3dcompiler_43/d3dcompiler_private.h
+++ b/dlls/d3dcompiler_43/d3dcompiler_private.h
@@ -575,6 +575,4 @@ static inline void write_u32(char **ptr, uint32_t u32)
     *ptr += sizeof(u32);
 }
 
-void skip_u32_unknown(const char **ptr, unsigned int count) DECLSPEC_HIDDEN;
-
 #endif /* __WINE_D3DCOMPILER_PRIVATE_H */
diff --git a/dlls/d3dcompiler_43/utils.h b/dlls/d3dcompiler_43/utils.h
index fdb7f8e8db4..5259c057f6e 100644
--- a/dlls/d3dcompiler_43/utils.h
+++ b/dlls/d3dcompiler_43/utils.h
@@ -30,4 +30,6 @@ static inline uint32_t read_u32(const char **ptr)
     return r;
 }
 
+void skip_u32_unknown(const char **ptr, unsigned int count) DECLSPEC_HIDDEN;
+
 #endif /* __WINE_UTILS_H */




More information about the wine-cvs mailing list