25 lines
466 B
C
25 lines
466 B
C
|
/* crt0.cc: crt0 for libc
|
||
|
|
||
|
Copyright 2000 Cygnus Solutions.
|
||
|
|
||
|
This file is part of Cygwin.
|
||
|
|
||
|
This software is a copyrighted work licensed under the terms of the
|
||
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||
|
details. */
|
||
|
|
||
|
#include <windows.h>
|
||
|
#include "crt0.h"
|
||
|
|
||
|
extern void __stdcall dll_crt0 (void) __declspec (dllimport);
|
||
|
|
||
|
/* for main module */
|
||
|
void
|
||
|
cygwin_crt0 (MainFunc f)
|
||
|
{
|
||
|
_cygwin_crt0_common (f);
|
||
|
|
||
|
/* Jump into the dll. */
|
||
|
dll_crt0 ();
|
||
|
}
|