summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2005-04-20 15:26:52 +0000
committerNeal H. Walfield <neal@gnu.org>2005-04-20 15:26:52 +0000
commit3f126cc9b3b8fb6f98dd4bdbe4f69f89ec7ab1a4 (patch)
tree802137ad800e2e7b36f1891f96a3b1b9418e050d /sysdeps/generic
parent925d7efa3ce2bae7a2e889a57e7337de4877ff75 (diff)
libpthread/
2005-04-20 Neal H. Walfield <neal@gnu.org> * sysdeps/generic/pt-setschedparam.c: policy's type is int, not int *. * include/pthread/pthread.h: Likewise. Reported by Christopher `Physicman' Bodenstein <cb@physicman.net>.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/pt-setschedparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/pt-setschedparam.c b/sysdeps/generic/pt-setschedparam.c
index 6b624a31..a70b0796 100644
--- a/sysdeps/generic/pt-setschedparam.c
+++ b/sysdeps/generic/pt-setschedparam.c
@@ -1,5 +1,5 @@
/* Set the scheduling parameters for a thread. Generic version.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include <pt-internal.h>
int
-pthread_setschedparam (pthread_t thread, int *policy,
+pthread_setschedparam (pthread_t thread, int policy,
const struct sched_param *param)
{
return ENOSYS;