summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-12-26 03:21:05 +0000
committerChristopher Faylor <me@cgf.cx>2000-12-26 03:21:05 +0000
commit2803e941b340e21113bfff9e22e1bc25ba5f9990 (patch)
tree6cd692c2ec34f704dce607a0c2669973c84c4765 /winsup/cygwin/autoload.h
parent48c4679d55f2bf752fadbba03669b652165353c4 (diff)
downloadcygnal-2803e941b340e21113bfff9e22e1bc25ba5f9990.tar.gz
cygnal-2803e941b340e21113bfff9e22e1bc25ba5f9990.tar.bz2
cygnal-2803e941b340e21113bfff9e22e1bc25ba5f9990.zip
* autoload.h: Make DLL initializers global to avoid inlining.
* exceptions.cc (interrupt_setup): Reorganize arguments to allow use of regparm. (interrupt_now): Ditto. (interrupt_on_return): Ditto. (call_handler): Ditto.
Diffstat (limited to 'winsup/cygwin/autoload.h')
-rw-r--r--winsup/cygwin/autoload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/autoload.h b/winsup/cygwin/autoload.h
index 9367c0daf..b51df4121 100644
--- a/winsup/cygwin/autoload.h
+++ b/winsup/cygwin/autoload.h
@@ -12,8 +12,8 @@ details. */
#define LoadDLLinitfunc(dllname) \
HANDLE NO_COPY dllname ## _handle = NULL; \
-static int dllname ## _init () __asm__ (#dllname "_init") __attribute__ ((unused)); \
-static int dllname ## _init ()
+/*static*/ int dllname ## _init () __asm__ (#dllname "_init"); \
+/*static*/ int dllname ## _init ()
#define LoadDLLinitnow(dllname) \
({__asm__ ("movl $cygwin_dll_func_load, " #dllname "_init_holder"); dllname##_init ();})