summaryrefslogtreecommitdiff
path: root/sched_get_priority_max.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-17 01:38:02 +0000
committerrpj <rpj>2004-05-17 01:38:02 +0000
commit771465fed0cf50ee2dd790723245fc091699c324 (patch)
treed8c18d095a33fe7c4564bd90c5f313bb9e4057dd /sched_get_priority_max.c
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'sched_get_priority_max.c')
-rw-r--r--sched_get_priority_max.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sched_get_priority_max.c b/sched_get_priority_max.c
index c3fb715..f9f365a 100644
--- a/sched_get_priority_max.c
+++ b/sched_get_priority_max.c
@@ -116,7 +116,7 @@
int
-sched_get_priority_max(int policy)
+sched_get_priority_max (int policy)
{
if (policy < SCHED_MIN || policy > SCHED_MAX)
{
@@ -126,9 +126,9 @@ sched_get_priority_max(int policy)
#if (THREAD_PRIORITY_LOWEST > THREAD_PRIORITY_NORMAL)
/* WinCE? */
- return PTW32_MAX(THREAD_PRIORITY_IDLE, THREAD_PRIORITY_TIME_CRITICAL);
+ return PTW32_MAX (THREAD_PRIORITY_IDLE, THREAD_PRIORITY_TIME_CRITICAL);
#else
/* This is independent of scheduling policy in Win32. */
- return PTW32_MAX(THREAD_PRIORITY_IDLE, THREAD_PRIORITY_TIME_CRITICAL);
+ return PTW32_MAX (THREAD_PRIORITY_IDLE, THREAD_PRIORITY_TIME_CRITICAL);
#endif
}