Commit bb658848 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

d3dxof: Make read_bytes() static.

parent 9c997387
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment