summaryrefslogtreecommitdiffhomepage
path: root/src/headers
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 19:28:50 -0500
committermidipix <writeonce@midipix.org>2016-11-19 19:28:50 -0500
commit9fde5a970b0d86e2aec3687651d0e08f07c27e7b (patch)
tree6b9488d933043c5da75f5538b55b4bda458d66ca /src/headers
parentab043c05e95de76f5967921542f17d3f12a6be03 (diff)
downloadpemagine-9fde5a970b0d86e2aec3687651d0e08f07c27e7b.tar.bz2
pemagine-9fde5a970b0d86e2aec3687651d0e08f07c27e7b.tar.xz
pe_get_image_special_hdr_addr(): code maintenance.
Diffstat (limited to 'src/headers')
-rw-r--r--src/headers/pe_get_image_special_hdr_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headers/pe_get_image_special_hdr_addr.c b/src/headers/pe_get_image_special_hdr_addr.c
index 44caae7..692ad1f 100644
--- a/src/headers/pe_get_image_special_hdr_addr.c
+++ b/src/headers/pe_get_image_special_hdr_addr.c
@@ -10,7 +10,7 @@
#include <pemagine/pemagine.h>
#include "pe_impl.h"
-pe_api
+
void * pe_get_image_special_hdr_addr(const void * base, uint32_t ordinal, uint32_t * sec_size)
{
struct pe_raw_data_dirs*dirs;
@@ -25,7 +25,7 @@ void * pe_get_image_special_hdr_addr(const void * base, uint32_t ordinal, uint32
if (*count < (ordinal+1))
return 0;
- dir = (struct pe_block *)dirs->export_tbl;
+ dir = (struct pe_block *)dirs->export_tbl;
dir += ordinal;
if (sec_size)