diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 17:05:59 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 17:05:59 -0500 |
commit | c49fd66e04e9e74cc12b49e743131cbdf404cd93 (patch) | |
tree | c2165fc058b9cdb704645ca1cf6af6dd33f0c9fb /src/exports | |
parent | 8c8440429ee70a3e2902a28afd36de4cb3a5a081 (diff) | |
download | pemagine-c49fd66e04e9e74cc12b49e743131cbdf404cd93.tar.bz2 pemagine-c49fd66e04e9e74cc12b49e743131cbdf404cd93.tar.xz |
pe_get_procedure_address(): code maintenance.
Diffstat (limited to 'src/exports')
-rw-r--r-- | src/exports/pe_get_procedure_address.c | 4 |
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; } |