On Tue, Jun 05, 2018 at 01:46:59PM +0000, yang wrote: > Fix compile warnings: > CC kernel/sched/fair.o > kernel/sched/fair.c:2461:6: warning: no previous prototype for > ‘task_numa_work’ [-Wmissing-prototypes] > void task_numa_work(struct callback_head *work) > ^ > kernel/sched/fair.c:2606:6: warning: no previous prototype for > ‘task_tick_numa’ [-Wmissing-prototypes] > void task_tick_numa(struct rq *rq, struct task_struct *curr) > ^ > kernel/sched/fair.c:3853:6: warning: no previous prototype for > ‘sync_entity_load_avg’ [-Wmissing-prototypes] > void sync_entity_load_avg(struct sched_entity *se) > ^ > kernel/sched/fair.c:3866:6: warning: no previous prototype for > ‘remove_entity_load_avg’ [-Wmissing-prototypes] > void remove_entity_load_avg(struct sched_entity *se)
What compiler does that? Seems like a pretty annoying warning.