summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/miscfuncs.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-11-10 21:28:02 +0000
committerChristopher Faylor <me@cgf.cx>2003-11-10 21:28:02 +0000
commit8398809e7d682af5dd6bbed7db0cce0f74190040 (patch)
tree0f2970e5e71b8034c1ab7d375dea5060928df40a /winsup/cygwin/miscfuncs.cc
parent07ff3037827a78be7525f2bb50cc1b828f1c7382 (diff)
downloadcygnal-8398809e7d682af5dd6bbed7db0cce0f74190040.tar.gz
cygnal-8398809e7d682af5dd6bbed7db0cce0f74190040.tar.bz2
cygnal-8398809e7d682af5dd6bbed7db0cce0f74190040.zip
* miscfuncs.cc (low_priority_sleep): Make a "C" function.
* winsup.h (low_priority_sleep): Revert previous change to declaration.
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index be7c8a30e..fc727936d 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -302,7 +302,7 @@ sys_mbstowcs (WCHAR *tgt, const char *src, int len)
return MultiByteToWideChar (get_cp (), 0, src, -1, tgt, len);
}
-int __stdcall
+extern "C" int __stdcall
low_priority_sleep (DWORD secs)
{
HANDLE thisthread = GetCurrentThread ();