summaryrefslogtreecommitdiffhomepage
path: root/src/meta
diff options
context:
space:
mode:
Diffstat (limited to 'src/meta')
-rw-r--r--src/meta/pe_get_symbol_name.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/meta/pe_get_symbol_name.c b/src/meta/pe_get_symbol_name.c
index 9b4d11d..63a0fff 100644
--- a/src/meta/pe_get_symbol_name.c
+++ b/src/meta/pe_get_symbol_name.c
@@ -7,13 +7,12 @@
#include <psxtypes/psxtypes.h>
#include <pemagine/pemagine.h>
-/* private args structure */
+
struct pe_symbol_name_ctx {
const void * addr;
char * name;
};
-/* private forward declarations */
static int pe_enum_exports_callback(
const void * base,
struct pe_raw_export_hdr * exp_hdr,
@@ -33,7 +32,7 @@ static char * pe_get_imported_symbol_info_64(
struct pe_ldr_tbl_entry ** ldr_tbl_entry);
#endif
-pe_api
+
char * pe_get_symbol_name(const void * base, const void * sym_addr)
{
struct pe_export_sym exp_item;
@@ -52,7 +51,6 @@ char * pe_get_symbol_name(const void * base, const void * sym_addr)
}
-pe_api
char * pe_get_import_symbol_info(
const void * sym_addr,
struct pe_ldr_tbl_entry ** ldr_tbl_entry)