lkml.org 
[lkml]   [2018]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched/fair: make function static to avoid compile warnings
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.

\
 
 \ /
  Last update: 2018-06-05 16:17    [W:0.046 / U:4.108 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site