summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-22 20:02:16 -0500
committermidipix <writeonce@midipix.org>2019-02-22 20:02:16 -0500
commitda69128010ca04de8be8d21f36ed85f8061c0270 (patch)
tree68f8d7dfbb968be17d7fcb4cc2e48d5eee57cd52 /src/internal
parentc30fbc5873c4b277e02e11bf47e30aa50e1e152f (diff)
downloadntapi-da69128010ca04de8be8d21f36ed85f8061c0270.tar.bz2
ntapi-da69128010ca04de8be8d21f36ed85f8061c0270.tar.xz
ntapi_entry_point(): explicitly apply protected visibility.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi_entry_point.c5
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;