]> sourceware.org Git - newlib-cygwin.git/blame - winsup/cygwin/lib/cygwin_crt0.c
Throughout, update copyrights to reflect dates which correspond to main-branch
[newlib-cygwin.git] / winsup / cygwin / lib / cygwin_crt0.c
CommitLineData
35914702 1/* cygwin_crt0.c: crt0 for cygwin
14a3bc2f 2
bc837d22 3 Copyright 2000, 2001, 2007, 2008, 2009, 2011 Red Hat, Inc.
14a3bc2f
CF
4
5This file is part of Cygwin.
6
7This software is a copyrighted work licensed under the terms of the
8Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9details. */
10
85219b35 11#undef __INSIDE_CYGWIN__
14a3bc2f
CF
12#include "crt0.h"
13
b58e5f42 14extern void __stdcall _dll_crt0 ()
ca1953ee 15 __declspec (dllimport) __attribute__ ((noreturn));
14a3bc2f
CF
16
17/* for main module */
18void
19cygwin_crt0 (MainFunc f)
20{
b58e5f42
CF
21 _cygwin_crt0_common (f, NULL);
22 _dll_crt0 (); /* Jump into the dll, never to return */
14a3bc2f 23}
This page took 0.355351 seconds and 5 git commands to generate.