summaryrefslogtreecommitdiff
path: root/pthread_getschedparam.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 /pthread_getschedparam.c
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'pthread_getschedparam.c')
-rw-r--r--pthread_getschedparam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pthread_getschedparam.c b/pthread_getschedparam.c
index ac02775..d968aa5 100644
--- a/pthread_getschedparam.c
+++ b/pthread_getschedparam.c
@@ -39,13 +39,13 @@
#include "sched.h"
int
-pthread_getschedparam(pthread_t thread, int *policy,
- struct sched_param *param)
+pthread_getschedparam (pthread_t thread, int *policy,
+ struct sched_param *param)
{
int result;
/* Validate the thread id. */
- result = pthread_kill(thread, 0);
+ result = pthread_kill (thread, 0);
if (0 != result)
{
return result;