summaryrefslogtreecommitdiff
path: root/sched.h
diff options
context:
space:
mode:
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