v5.10-prjc-r0: compilation error (error: static declaration of ‘task_running_nice’ follows non-static declaration)
In file included from kernel/sched/alt_core.c:129:
kernel/sched/bmq_imp.h:65:19: error: static declaration of ‘task_running_nice’ follows non-static declaration
65 | static inline int task_running_nice(struct task_struct *p)
| ^~~~~~~~~~~~~~~~~
In file included from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:18:
kernel/sched/alt_sched.h:376:12: note: previous declaration of ‘task_running_nice’ was here
376 | extern int task_running_nice(struct task_struct *p);
| ^~~~~~~~~~~~~~~~~
LDS arch/x86/kernel/vmlinux.lds
CC certs/system_keyring.o
make[2]: *** [scripts/Makefile.build:279: kernel/sched/alt_core.o] Error 1
make[1]: *** [scripts/Makefile.build:496: kernel/sched] Error 2
make: *** [Makefile:1805: kernel] Error 2
If any more information is needed just ask :).