summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-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);