diff options
author | Neal H. Walfield <neal@gnu.org> | 2005-04-20 15:26:52 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2005-04-20 15:26:52 +0000 |
commit | d3259802444358fa6f917c7d2a049fc8fcc98cc0 (patch) | |
tree | e1dace934975669e77f7fe9617f68da99e0b2a67 /sysdeps/generic/pt-setschedparam.c | |
parent | ca420458a592b5fce854d45c7c516cf2fb73f600 (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/pt-setschedparam.c')
-rw-r--r-- | sysdeps/generic/pt-setschedparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/pt-setschedparam.c b/sysdeps/generic/pt-setschedparam.c index 6b624a3..a70b079 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; |