# Re: \[PATCH\] CFS: Mark print\_cfs\_stats static

- From: Ingo Molnar \<hidden\>
- Date: 2007-08-06 07:33:31 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2007/08/989812
- Thread: https://ratatoskr.run/linux-rt-users/2007/07/982839/t.md

```text

* Josh Triplett [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
```
