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

mscoree: Make assembly_rva_to_va() and parse_headers() static.

parent fcda2bd9
...@@ -92,7 +92,7 @@ static inline LPWSTR strdupW(LPCWSTR src) ...@@ -92,7 +92,7 @@ static inline LPWSTR strdupW(LPCWSTR src)
return dest; return dest;
} }
void* assembly_rva_to_va(ASSEMBLY *assembly, ULONG rva) static void* assembly_rva_to_va(ASSEMBLY *assembly, ULONG rva)
{ {
if (assembly->is_mapped_file) if (assembly->is_mapped_file)
return ImageRvaToVa(assembly->nthdr, assembly->data, rva, NULL); return ImageRvaToVa(assembly->nthdr, assembly->data, rva, NULL);
...@@ -190,7 +190,7 @@ static HRESULT parse_pe_header(ASSEMBLY *assembly) ...@@ -190,7 +190,7 @@ static HRESULT parse_pe_header(ASSEMBLY *assembly)
return S_OK; return S_OK;
} }
HRESULT parse_headers(ASSEMBLY *assembly) static HRESULT parse_headers(ASSEMBLY *assembly)
{ {
HRESULT hr; HRESULT hr;
......
...@@ -35,7 +35,6 @@ typedef struct _VTableFixup { ...@@ -35,7 +35,6 @@ typedef struct _VTableFixup {
typedef struct tagASSEMBLY ASSEMBLY; typedef struct tagASSEMBLY ASSEMBLY;
extern void* assembly_rva_to_va(ASSEMBLY *assembly, ULONG rva) DECLSPEC_HIDDEN;
extern HRESULT assembly_create(ASSEMBLY **out, LPCWSTR file) DECLSPEC_HIDDEN; extern HRESULT assembly_create(ASSEMBLY **out, LPCWSTR file) DECLSPEC_HIDDEN;
extern HRESULT assembly_from_hmodule(ASSEMBLY **out, HMODULE hmodule) DECLSPEC_HIDDEN; extern HRESULT assembly_from_hmodule(ASSEMBLY **out, HMODULE hmodule) DECLSPEC_HIDDEN;
extern HRESULT assembly_release(ASSEMBLY *assembly) DECLSPEC_HIDDEN; extern HRESULT assembly_release(ASSEMBLY *assembly) DECLSPEC_HIDDEN;
......
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