From 41f042479e78dc0ce4daa8fd85ef59f61bb56325 Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 15 Oct 2003 03:02:28 +0000 Subject: Add Watcom compiler compatibility. --- sched.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sched.h') diff --git a/sched.h b/sched.h index 9208a52..e6a0ee1 100644 --- a/sched.h +++ b/sched.h @@ -139,15 +139,15 @@ extern "C" { #endif /* __cplusplus */ -PTW32_DLLPORT int sched_yield (void); +PTW32_DLLPORT int __cdecl sched_yield (void); -PTW32_DLLPORT int sched_get_priority_min (int policy); +PTW32_DLLPORT int __cdecl sched_get_priority_min (int policy); -PTW32_DLLPORT int sched_get_priority_max (int policy); +PTW32_DLLPORT int __cdecl sched_get_priority_max (int policy); -PTW32_DLLPORT int sched_setscheduler (pid_t pid, int policy); +PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy); -PTW32_DLLPORT int sched_getscheduler (pid_t pid); +PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid); /* * Note that this macro returns ENOTSUP rather than -- cgit v1.2.3