From 2803e941b340e21113bfff9e22e1bc25ba5f9990 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 26 Dec 2000 03:21:05 +0000 Subject: * 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. --- winsup/cygwin/autoload.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/autoload.h') 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 ();}) -- cgit v1.2.3