mirror of git://git.musl-libc.org/musl
remove sporadic server members from struct sched_param
these members are associated with an unsupported option group. with time_t changing size on 32-bit archs, all interfaces taking struct sched_param arguments would need redirection and compat shims in order to be able to continue offering these members, for no benefit. just convert them to reserved space instead.
This commit is contained in:
parent
29e8737f81
commit
827aa8fbca
|
@ -18,10 +18,12 @@ extern "C" {
|
||||||
|
|
||||||
struct sched_param {
|
struct sched_param {
|
||||||
int sched_priority;
|
int sched_priority;
|
||||||
int sched_ss_low_priority;
|
int __reserved1;
|
||||||
struct timespec sched_ss_repl_period;
|
struct {
|
||||||
struct timespec sched_ss_init_budget;
|
time_t __reserved1;
|
||||||
int sched_ss_max_repl;
|
long __reserved2;
|
||||||
|
} __reserved2[2];
|
||||||
|
int __reserved3;
|
||||||
};
|
};
|
||||||
|
|
||||||
int sched_get_priority_max(int);
|
int sched_get_priority_max(int);
|
||||||
|
|
Loading…
Reference in New Issue