]>
Commit | Line | Data |
---|---|---|
35914702 | 1 | /* cygwin_crt0.c: crt0 for cygwin |
14a3bc2f | 2 | |
14a3bc2f CF |
3 | This file is part of Cygwin. |
4 | ||
5 | This software is a copyrighted work licensed under the terms of the | |
6 | Cygwin license. Please consult the file "CYGWIN_LICENSE" for | |
7 | details. */ | |
8 | ||
85219b35 | 9 | #undef __INSIDE_CYGWIN__ |
14a3bc2f CF |
10 | #include "crt0.h" |
11 | ||
7073ef4e | 12 | extern void _dll_crt0 () |
ca1953ee | 13 | __declspec (dllimport) __attribute__ ((noreturn)); |
14a3bc2f CF |
14 | |
15 | /* for main module */ | |
16 | void | |
17 | cygwin_crt0 (MainFunc f) | |
18 | { | |
b58e5f42 CF |
19 | _cygwin_crt0_common (f, NULL); |
20 | _dll_crt0 (); /* Jump into the dll, never to return */ | |
14a3bc2f | 21 | } |