Re: [PATCH] CFS: Mark print_cfs_stats static

From
Ingo Molnar <hidden>
Date
2007-08-06 07:33:31
Also in
lkml
Reply to
Josh Triplett, 2007-07-20
* Josh Triplett [off-list ref] wrote:
sched_fair.c defines print_cfs_stats, and sched_debug.c uses it, but 
sched.c includes both sched_fair.c and sched_debug.c, so all the 
references to print_cfs_stats occur in the same compilation unit.  
Thus, mark print_cfs_stats static.

Eliminates a sparse warning: warning: symbol 'print_cfs_stats' was not 
declared. Should it be static?
thanks, applied.

	Ingo
Thread (2 messages) 2 messages, 2 authors, last reply 2007-08-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help