diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-08-14 20:50:42 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-14 20:50:42 -0400 |
commit | 827aa8fbcac89a63c6efb986871663861500cd13 (patch) | |
tree | 907b7b892dc6de2c7a11d7a52c687c37f6d77b2f /include/sched.h | |
parent | 29e8737f81ccc9fbadcf61a75318aa3d0516aafa (diff) | |
download | musl-827aa8fbcac89a63c6efb986871663861500cd13.tar.gz musl-827aa8fbcac89a63c6efb986871663861500cd13.tar.xz musl-827aa8fbcac89a63c6efb986871663861500cd13.zip |
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.
Diffstat (limited to 'include/sched.h')
-rw-r--r-- | include/sched.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/sched.h b/include/sched.h index 05d40b1e..674bad7f 100644 --- a/include/sched.h +++ b/include/sched.h @@ -18,10 +18,12 @@ extern "C" { struct sched_param { int sched_priority; - int sched_ss_low_priority; - struct timespec sched_ss_repl_period; - struct timespec sched_ss_init_budget; - int sched_ss_max_repl; + int __reserved1; + struct { + time_t __reserved1; + long __reserved2; + } __reserved2[2]; + int __reserved3; }; int sched_get_priority_max(int); |