mscoree: Make assembly_rva_to_va() and parse_headers() static.
This commit is contained in:
parent
fcda2bd929
commit
bde73d8dfc
|
@ -92,7 +92,7 @@ static inline LPWSTR strdupW(LPCWSTR src)
|
|||
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)
|
||||
return ImageRvaToVa(assembly->nthdr, assembly->data, rva, NULL);
|
||||
|
@ -190,7 +190,7 @@ static HRESULT parse_pe_header(ASSEMBLY *assembly)
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT parse_headers(ASSEMBLY *assembly)
|
||||
static HRESULT parse_headers(ASSEMBLY *assembly)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ typedef struct _VTableFixup {
|
|||
|
||||
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_from_hmodule(ASSEMBLY **out, HMODULE hmodule) DECLSPEC_HIDDEN;
|
||||
extern HRESULT assembly_release(ASSEMBLY *assembly) DECLSPEC_HIDDEN;
|
||||
|
|
Loading…
Reference in New Issue