diff options
author | Christopher Faylor <me@cgf.cx> | 2003-11-10 21:28:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-11-10 21:28:02 +0000 |
commit | 8398809e7d682af5dd6bbed7db0cce0f74190040 (patch) | |
tree | 0f2970e5e71b8034c1ab7d375dea5060928df40a /winsup/cygwin/winsup.h | |
parent | 07ff3037827a78be7525f2bb50cc1b828f1c7382 (diff) | |
download | cygnal-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/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 1707d5fd2..adaa6a33b 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 int __stdcall low_priority_sleep (DWORD) __attribute__ ((regparm (1))); +extern "C" int __stdcall low_priority_sleep (DWORD) __attribute__ ((regparm (1))); #define SLEEP_0_STAY_LOW INFINITE size_t getshmlba (void); |