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:
authorcvs2svn <>2001-04-22 20:19:31 +0400
committercvs2svn <>2001-04-22 20:19:31 +0400
commit20f9c6b816157775ca3a411c9c720f5d7bca3f1e (patch)
tree9aeb7ee6f934676313ce66cc59ec967d21b0b39f /winsup/cygwin/autoload.h
parent4a39e41e48923241b90cb82881c60758d4f2ee87 (diff)
This commit was manufactured by cvs2svn to create tag 'cygwin-1-1-6'.cygwin-1-1-6
Sprout from cygwin-1-3-1 2001-04-22 16:19:29 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'cygwin-1-3-1'.' Cherrypick from master 2000-10-28 05:41:44 UTC Christopher Faylor <me@cgf.cx> 'Whitespace cleanup.': winsup/cygwin/autoload.h winsup/cygwin/cygrun.c winsup/cygwin/regexp/regerror.c Delete: winsup/cygwin/lib/_cygwin_S_IEXEC.cc winsup/cygwin/shortcut.c winsup/cygwin/shortcut.h
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 b51df4121..9367c0daf 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"); \
-/*static*/ int dllname ## _init ()
+static int dllname ## _init () __asm__ (#dllname "_init") __attribute__ ((unused)); \
+static int dllname ## _init ()
#define LoadDLLinitnow(dllname) \
({__asm__ ("movl $cygwin_dll_func_load, " #dllname "_init_holder"); dllname##_init ();})