From 07ff3037827a78be7525f2bb50cc1b828f1c7382 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 10 Nov 2003 21:17:53 +0000 Subject: * winsup.h (low_priority_sleep): Fix declaration to avoid linker warning. --- winsup/cygwin/winsup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/winsup.h') diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index c827ad8..1707d5f 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); -- cgit v1.1