summaryrefslogtreecommitdiff
path: root/sysdeps/stub
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub')
-rw-r--r--sysdeps/stub/sched_getp.c2
-rw-r--r--sysdeps/stub/sched_setp.c2
-rw-r--r--sysdeps/stub/sched_sets.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/stub/sched_getp.c b/sysdeps/stub/sched_getp.c
index 3fc0b458c1..0da92bcd2c 100644
--- a/sysdeps/stub/sched_getp.c
+++ b/sysdeps/stub/sched_getp.c
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
/* Retrieve scheduling parameters for a particular process. */
int
-__sched_getparam (pid_t pid, struct sched_params *param)
+__sched_getparam (pid_t pid, struct sched_param *param)
{
errno = ENOSYS;
return -1;
diff --git a/sysdeps/stub/sched_setp.c b/sysdeps/stub/sched_setp.c
index 10b0cb3c6c..513c717b03 100644
--- a/sysdeps/stub/sched_setp.c
+++ b/sysdeps/stub/sched_setp.c
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
/* Set scheduling parameters for a process. */
int
-__sched_setparam (pid_t pid, const struct sched_params *param)
+__sched_setparam (pid_t pid, const struct sched_param *param)
{
errno = ENOSYS;
return -1;
diff --git a/sysdeps/stub/sched_sets.c b/sysdeps/stub/sched_sets.c
index 99113b1ad7..98008e6138 100644
--- a/sysdeps/stub/sched_sets.c
+++ b/sysdeps/stub/sched_sets.c
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
/* Set scheduling algorithm and/or parameters for a process. */
int
-__sched_setscheduler (pid_t pid, int policy, const struct sched_params *param)
+__sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
{
errno = ENOSYS;
return -1;