diff options
| author | Baoyou Xie <[email protected]> | 2016-09-17 20:04:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-17 23:36:52 +0200 |
| commit | 5adb3290ba8738f6f864488fce0ff19f56325eb8 (patch) | |
| tree | 955fe51ad4f321ed15d699e72da8075281041247 /tools/perf/scripts/python | |
| parent | b3f863a6bce01196bf5298f1801a260595de75dd (diff) | |
staging: lustre: lmv: mark symbols static where possible
We get a few warnings when building kernel with W=1:
drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes]
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2421:5: warning: no previous prototype for 'lmv_read_page' [-Wmissing-prototypes]
....
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions