diff options
Diffstat (limited to 'crt')
-rw-r--r-- | crt/nt32/crt1.c | 2 | ||||
-rw-r--r-- | crt/nt64/crt1.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c index 1b8eea0..8c93c32 100644 --- a/crt/nt32/crt1.c +++ b/crt/nt32/crt1.c @@ -4,7 +4,7 @@ extern const int __crtopt_dinga __attribute((weak,alias("__disabled"))); extern const int __crtopt_ldso __attribute((weak,alias("__disabled"))); extern const int __crtopt_vrfs __attribute((weak,alias("__disabled"))); -int main(); +int __attribute__((visibility("hidden"))) main(); void __libc_loader_init(void * __main, int flags); void _start(void) diff --git a/crt/nt64/crt1.c b/crt/nt64/crt1.c index 1b8eea0..8c93c32 100644 --- a/crt/nt64/crt1.c +++ b/crt/nt64/crt1.c @@ -4,7 +4,7 @@ extern const int __crtopt_dinga __attribute((weak,alias("__disabled"))); extern const int __crtopt_ldso __attribute((weak,alias("__disabled"))); extern const int __crtopt_vrfs __attribute((weak,alias("__disabled"))); -int main(); +int __attribute__((visibility("hidden"))) main(); void __libc_loader_init(void * __main, int flags); void _start(void) |