summaryrefslogtreecommitdiff
path: root/sched.h
diff options
context:
space:
mode:
authorrpj <rpj>2003-10-15 03:02:28 +0000
committerrpj <rpj>2003-10-15 03:02:28 +0000
commit41f042479e78dc0ce4daa8fd85ef59f61bb56325 (patch)
tree39b504ca5ff02a3198dd18f552cc2bbf05aaa279 /sched.h
parentaf1871fba4fc253b5a31e4a0eed667fe79f534d7 (diff)
Add Watcom compiler compatibility.
Diffstat (limited to 'sched.h')
-rw-r--r--sched.h10
1 files changed, 5 insertions, 5 deletions
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