cc -pthread -Wall -Wextra -Werror=implicit-function-declaration sched/sched_setparam.c -o sched/sched_setparam -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented relibc getrlimit(9, 0x7ffffffffb90): not implemented relibc getrlimit(5, 0x7ffffffffb90): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented sched/sched_setparam.c: In function 'main': sched/sched_setparam.c:10:28: error: storage size of 'params' isn't known 10 | struct sched_param params; | ^~~~~~ sched/sched_setparam.c:11:14: error: implicit declaration of function 'sched_getparam' [-Werror=implicit-function-declaration] 11 | if ( sched_getparam(0, ¶ms) < 0 ) | ^~~~~~~~~~~~~~ sched/sched_setparam.c:17:14: error: implicit declaration of function 'sched_setparam' [-Werror=implicit-function-declaration] 17 | if ( sched_setparam(0, ¶ms) < 0 ) | ^~~~~~~~~~~~~~ sched/sched_setparam.c:10:28: warning: unused variable 'params' [-Wunused-variable] 10 | struct sched_param params; | ^~~~~~ cc1: some warnings being treated as errors