summaryrefslogtreecommitdiffhomepage
path: root/src/exports
diff options
context:
space:
mode:
Diffstat (limited to 'src/exports')
-rw-r--r--src/exports/pe_get_procedure_address.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/exports/pe_get_procedure_address.c b/src/exports/pe_get_procedure_address.c
index 958f205..12245b4 100644
--- a/src/exports/pe_get_procedure_address.c
+++ b/src/exports/pe_get_procedure_address.c
@@ -6,13 +6,11 @@
#include <pemagine/pemagine.h>
-pe_api
void * pe_get_procedure_address(const void * base, const char * name)
{
struct pe_export_sym sym;
return pe_get_export_symbol_info(base,name,&sym)
- ? 0
- : sym.addr;
+ ? 0 : sym.addr;
}