Commit b858b539 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dbghelp: Mark internal symbols as hidden.

parent 0bbba71c
......@@ -154,7 +154,7 @@ static void coff_add_symbol(struct CoffFile* coff_file, struct symt* sym)
coff_file->entries[coff_file->neps++] = sym;
}
BOOL coff_process_info(const struct msc_debug_info* msc_dbg)
DECLSPEC_HIDDEN BOOL coff_process_info(const struct msc_debug_info* msc_dbg)
{
const IMAGE_AUX_SYMBOL* aux;
const IMAGE_COFF_SYMBOLS_HEADER* coff;
......
......@@ -222,7 +222,7 @@ static const char* arm_fetch_regname(unsigned regno)
return NULL;
}
struct cpu cpu_arm = {
DECLSPEC_HIDDEN struct cpu cpu_arm = {
IMAGE_FILE_MACHINE_ARM,
4,
CV_ARM_R0 + 11,
......
......@@ -632,7 +632,7 @@ static const char* i386_fetch_regname(unsigned regno)
return NULL;
}
struct cpu cpu_i386 = {
DECLSPEC_HIDDEN struct cpu cpu_i386 = {
IMAGE_FILE_MACHINE_I386,
4,
CV_REG_EBP,
......
......@@ -72,7 +72,7 @@ static const char* ppc_fetch_regname(unsigned regno)
return NULL;
}
struct cpu cpu_ppc = {
DECLSPEC_HIDDEN struct cpu cpu_ppc = {
IMAGE_FILE_MACHINE_POWERPC,
4,
CV_REG_NONE, /* FIXME */
......
......@@ -79,7 +79,7 @@ static const char* sparc_fetch_regname(unsigned regno)
return NULL;
}
struct cpu cpu_sparc = {
DECLSPEC_HIDDEN struct cpu cpu_sparc = {
IMAGE_FILE_MACHINE_SPARC,
4,
CV_REG_NONE, /* FIXME */
......
......@@ -796,7 +796,7 @@ static const char* x86_64_fetch_regname(unsigned regno)
return NULL;
}
struct cpu cpu_x86_64 = {
DECLSPEC_HIDDEN struct cpu cpu_x86_64 = {
IMAGE_FILE_MACHINE_AMD64,
8,
CV_AMD64_RSP,
......
......@@ -116,18 +116,18 @@ struct image_section_map
};
extern BOOL elf_find_section(struct image_file_map* fmap, const char* name,
unsigned sht, struct image_section_map* ism);
extern const char* elf_map_section(struct image_section_map* ism);
extern void elf_unmap_section(struct image_section_map* ism);
extern DWORD_PTR elf_get_map_rva(const struct image_section_map* ism);
extern unsigned elf_get_map_size(const struct image_section_map* ism);
unsigned sht, struct image_section_map* ism) DECLSPEC_HIDDEN;
extern const char* elf_map_section(struct image_section_map* ism) DECLSPEC_HIDDEN;
extern void elf_unmap_section(struct image_section_map* ism) DECLSPEC_HIDDEN;
extern DWORD_PTR elf_get_map_rva(const struct image_section_map* ism) DECLSPEC_HIDDEN;
extern unsigned elf_get_map_size(const struct image_section_map* ism) DECLSPEC_HIDDEN;
extern BOOL pe_find_section(struct image_file_map* fmap, const char* name,
struct image_section_map* ism);
extern const char* pe_map_section(struct image_section_map* psm);
extern void pe_unmap_section(struct image_section_map* psm);
extern DWORD_PTR pe_get_map_rva(const struct image_section_map* psm);
extern unsigned pe_get_map_size(const struct image_section_map* psm);
struct image_section_map* ism) DECLSPEC_HIDDEN;
extern const char* pe_map_section(struct image_section_map* psm) DECLSPEC_HIDDEN;
extern void pe_unmap_section(struct image_section_map* psm) DECLSPEC_HIDDEN;
extern DWORD_PTR pe_get_map_rva(const struct image_section_map* psm) DECLSPEC_HIDDEN;
extern unsigned pe_get_map_size(const struct image_section_map* psm) DECLSPEC_HIDDEN;
static inline BOOL image_find_section(struct image_file_map* fmap, const char* name,
struct image_section_map* ism)
......
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