diff options
author | midipix <writeonce@midipix.org> | 2019-02-22 19:50:32 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-22 19:50:32 -0500 |
commit | 279e96f9fbd862d6112be267e745602c256026c6 (patch) | |
tree | 92d3efd0b51c7493d0b82f9dd1232da36a0ab4a8 /src | |
parent | 439e2828d5e444021e0fa57d6b462b9b7920ce8d (diff) | |
download | pemagine-279e96f9fbd862d6112be267e745602c256026c6.tar.bz2 pemagine-279e96f9fbd862d6112be267e745602c256026c6.tar.xz |
pe_entry_point(): explicitly apply protected visibility.
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/pe_entry_point.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c index 0c3154d..188df13 100644 --- a/src/internal/pe_entry_point.c +++ b/src/internal/pe_entry_point.c @@ -10,7 +10,10 @@ static const void * const pe_affiliation #define pe_entry_point __ldso_entry_point #endif -int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved) +int __stdcall __attr_protected__ pe_entry_point( + void * hinstance, + uint32_t reason, + void * reserved) { (void)pe_affiliation; (void)hinstance; |