summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorThomas Pfaff <tpfaff@gmx.net>2003-04-17 20:05:15 +0000
committerThomas Pfaff <tpfaff@gmx.net>2003-04-17 20:05:15 +0000
commitf3c1c540516337d9742e06db9ea831018a4a0576 (patch)
tree96584ddbf91f00283cf98333d48c839a712ffa74 /winsup/cygwin/exceptions.cc
parenta4cea44072f03808fae271d1a4075225ae166d86 (diff)
downloadcygnal-f3c1c540516337d9742e06db9ea831018a4a0576.tar.gz
cygnal-f3c1c540516337d9742e06db9ea831018a4a0576.tar.bz2
cygnal-f3c1c540516337d9742e06db9ea831018a4a0576.zip
* Makefile.in: Add finline-functions optimization to CXXFLAGS.
* autoload.cc (LoadDLLprime): Rename std_dll_init to _std_dll_init. (std_dll_init): Remove name mangling prototype. Add attributes used and noinline. (wsock_init): Ditto. Change wsock_init to _wsock_init in wsock32 and ws2_32 LoadDLLprime. * exceptions.cc (unused_sig_wrapper): Remove prototype. Add attributes used and noinline. * pwdgrp.h ((pwdgrp (passwd *&)): Remove inline code. (pwdgrp (__group32 *&)): Ditto. * grp.cc (pwdgrp (passwd *&)): Outline constructor. (pwdgrp (__group32 *&)): Ditto.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 742aa68b0..ec4b7f4c9 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1203,12 +1203,10 @@ reset_signal_arrived ()
sigproc_printf ("reset signal_arrived");
}
-static void unused_sig_wrapper () __attribute__((const, unused));
-
#undef errno
#define errno ((DWORD volatile) _impure_ptr) + (((char *) &_impure_ptr->_errno) - ((char *) _impure_ptr))
-static void
+__attribute__((const, used, noinline)) static void
unused_sig_wrapper ()
{
/* Signal cleanup stuff. Cleans up stack (too bad that we didn't