diff options
author | midipix <writeonce@midipix.org> | 2019-02-22 20:02:16 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-22 20:02:16 -0500 |
commit | da69128010ca04de8be8d21f36ed85f8061c0270 (patch) | |
tree | 68f8d7dfbb968be17d7fcb4cc2e48d5eee57cd52 /src | |
parent | c30fbc5873c4b277e02e11bf47e30aa50e1e152f (diff) | |
download | ntapi-da69128010ca04de8be8d21f36ed85f8061c0270.tar.bz2 ntapi-da69128010ca04de8be8d21f36ed85f8061c0270.tar.xz |
ntapi_entry_point(): explicitly apply protected visibility.
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/ntapi_entry_point.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/internal/ntapi_entry_point.c b/src/internal/ntapi_entry_point.c index 310d54d..5df1103 100644 --- a/src/internal/ntapi_entry_point.c +++ b/src/internal/ntapi_entry_point.c @@ -12,7 +12,10 @@ static const void * const __ntapi_affiliation __attr_section__(".freestd") = 0; -int __stdcall __ntapi_entry_point(void * hinstance, uint32_t reason, void * reserved) +int __stdcall __attr_protected__ __ntapi_entry_point( + void * hinstance, + uint32_t reason, + void * reserved) { (void)__ntapi_affiliation; (void)hinstance; |