Francois Gouget : d3dxof: Make read_bytes() static.
Module: wine Branch: master Commit: bb658848c060377e4adc07bf0dfe8804a58349b1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb658848c060377e4adc07bf0d... Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Jun 11 20:20:34 2011 +0200 d3dxof: Make read_bytes() static. --- dlls/d3dxof/d3dxof_private.h | 1 - dlls/d3dxof/parsing.c | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/d3dxof/d3dxof_private.h b/dlls/d3dxof/d3dxof_private.h index 40870ac..186e707 100644 --- a/dlls/d3dxof/d3dxof_private.h +++ b/dlls/d3dxof/d3dxof_private.h @@ -162,7 +162,6 @@ typedef struct { HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN; -BOOL read_bytes(parse_buffer * buf, LPVOID data, DWORD size) DECLSPEC_HIDDEN; HRESULT parse_header(parse_buffer *buf, BYTE **decomp_buffer_ptr) DECLSPEC_HIDDEN; BOOL parse_object(parse_buffer * buf) DECLSPEC_HIDDEN; BOOL parse_templates(parse_buffer * buf) DECLSPEC_HIDDEN; diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c index 4d72219..cbf1761 100644 --- a/dlls/d3dxof/parsing.c +++ b/dlls/d3dxof/parsing.c @@ -166,7 +166,7 @@ static void dump_template(xtemplate* templates_array, xtemplate* ptemplate) DPRINTF("}\n"); } -BOOL read_bytes(parse_buffer * buf, LPVOID data, DWORD size) +static BOOL read_bytes(parse_buffer * buf, LPVOID data, DWORD size) { if (buf->rem_bytes < size) return FALSE;
participants (1)
-
Alexandre Julliard