From 279e96f9fbd862d6112be267e745602c256026c6 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 22 Feb 2019 19:50:32 -0500 Subject: pe_entry_point(): explicitly apply protected visibility. --- src/internal/pe_entry_point.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/internal/pe_entry_point.c') 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; -- cgit v1.2.3