aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-06-07 13:46:31 -0400
committerKen Brown <kbrown@cornell.edu>2022-06-07 13:46:31 -0400
commit07cf7630957e637755b347888bc4d69e5d51aa71 (patch)
tree26aa521c101b4a597fda277824a35080deed3cb2 /winsup/cygwin/dcrt0.cc
parent30c5411d0717483a9ad892f6f0a2f92a1ffd7c84 (diff)
downloadnewlib-07cf7630957e637755b347888bc4d69e5d51aa71.zip
newlib-07cf7630957e637755b347888bc4d69e5d51aa71.tar.gz
newlib-07cf7630957e637755b347888bc4d69e5d51aa71.tar.bz2
Cygwin: restore two instances of __stdcall
In the previous commit, __stdcall was removed from _dll_crt0 in winsup.h and dcrt0.cc but not in lib/cygwin_crt0.c. For consistency, restore the first two occurrences of __stdcall. We could instead remove it from the declaration in lib/cygwin_crt0.c, but this might appear to affect binary compatibility, even though it really doesn't.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index c460e15..a8ed8e2 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1013,7 +1013,7 @@ __cygwin_exit_return: \n\
");
}
-extern "C" void
+extern "C" void __stdcall
_dll_crt0 ()
{
/* Starting with Windows 10 rel 1511, the main stack of an application is