d3dxof: Make read_bytes() static.

oldstable
Francois Gouget 2011-06-11 20:20:34 +02:00 committed by Alexandre Julliard
parent 9c99738780
commit bb658848c0
2 changed files with 1 additions and 2 deletions

View File

@ -162,7 +162,6 @@ typedef struct {
HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN; 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; HRESULT parse_header(parse_buffer *buf, BYTE **decomp_buffer_ptr) DECLSPEC_HIDDEN;
BOOL parse_object(parse_buffer * buf) DECLSPEC_HIDDEN; BOOL parse_object(parse_buffer * buf) DECLSPEC_HIDDEN;
BOOL parse_templates(parse_buffer * buf) DECLSPEC_HIDDEN; BOOL parse_templates(parse_buffer * buf) DECLSPEC_HIDDEN;

View File

@ -166,7 +166,7 @@ static void dump_template(xtemplate* templates_array, xtemplate* ptemplate)
DPRINTF("}\n"); 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) if (buf->rem_bytes < size)
return FALSE; return FALSE;