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

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2022-02-09 16:30:10 +01:00 committed by Alexandre Julliard
parent 0587b0eb9c
commit a149fd4a56
3 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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 */

View File

@ -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 */