Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-08-18 19:59:16 +0400
committerChristopher Faylor <me@cgf.cx>2011-08-18 19:59:16 +0400
commit6072b95eeb2bb2fa492a391f3865efa39a454960 (patch)
tree12df77d45de864a9a6c196fbd22cc527abbc2626
parent8f19b4b64f4fbdf19209739a35d6e08138be3cef (diff)
* dcrt0.cc (dll_crt0_0): Remove unneeded __stdcall decoration.
* init.cc: Reflect change to dll_crt0_0 in declaration.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/dcrt0.cc2
-rw-r--r--winsup/cygwin/init.cc2
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e1c5558f5..aa00613b2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-18 Christopher Faylor <me.cygwin2011@cgf.cx>
+
+ * dcrt0.cc (dll_crt0_0): Remove unneeded __stdcall decoration.
+ * init.cc: Reflect change to dll_crt0_0 in declaration.
+
2011-08-18 Corinna Vinschen <corinna@vinschen.de>
* dtable.cc (dtable::get_debugger_info): Add missing braces.
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 32a5bc1d6..f0980913f 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -649,7 +649,7 @@ init_windows_system_directory ()
windows_system_directory[windows_system_directory_length] = L'\0';
}
-void __stdcall
+void
dll_crt0_0 ()
{
init_windows_system_directory ();
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index 037990bff..107d037f9 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -110,7 +110,7 @@ respawn_wow64_process ()
}
}
-extern void __stdcall dll_crt0_0 ();
+void dll_crt0_0 ();
extern "C" BOOL WINAPI
dll_entry (HANDLE h, DWORD reason, void *static_load)