summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/ntapi_entry_point.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/ntapi_entry_point.c b/src/internal/ntapi_entry_point.c
index 7d0f99f..dcf2fd5 100644
--- a/src/internal/ntapi_entry_point.c
+++ b/src/internal/ntapi_entry_point.c
@@ -6,8 +6,13 @@
#include <psxtypes/psxtypes.h>
+static const void * const __ntapi_affiliation
+ __attr_section__(".freestd")
+ = 0;
+
int __stdcall __ntapi_entry_point(void * hinstance, uint32_t reason, void * reserved)
{
+ (void)__ntapi_affiliation;
(void)hinstance;
(void)reason;
(void)reserved;