summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-11-10 21:17:53 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-11-10 21:17:53 +0000
commit07ff3037827a78be7525f2bb50cc1b828f1c7382 (patch)
treef84c4eb8bc77dd531e22597be7e7418877443ea5
parent73e36316cc018d809826c3ebaa9ff38028c8ba96 (diff)
downloadcygnal-07ff3037827a78be7525f2bb50cc1b828f1c7382.tar.gz
cygnal-07ff3037827a78be7525f2bb50cc1b828f1c7382.tar.bz2
cygnal-07ff3037827a78be7525f2bb50cc1b828f1c7382.zip
* winsup.h (low_priority_sleep): Fix declaration to avoid linker
warning.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/winsup.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index c99d6646b..b5c074b58 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * winsup.h (low_priority_sleep): Fix declaration to avoid linker
+ warning.
+
2003-11-10 Thomas Pfaff <tpfaff@gmx.net>
* thread.cc (__reent_t::init_clib): Set thread local clib
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index c827ad8c7..1707d5fd2 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -279,7 +279,7 @@ int symlink_worker (const char *, const char *, bool, bool)
class path_conv;
int access_worker (path_conv&, int) __attribute__ ((regparm (2)));
-extern "C" int low_priority_sleep (DWORD) __attribute__ ((regparm (1)));
+extern int __stdcall low_priority_sleep (DWORD) __attribute__ ((regparm (1)));
#define SLEEP_0_STAY_LOW INFINITE
size_t getshmlba (void);