diff options
| author | Baoyou Xie <[email protected]> | 2016-09-17 21:30:35 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-17 23:36:52 +0200 |
| commit | af78e1e8f245c014e51347ad2e767fad5bbc1459 (patch) | |
| tree | 02f6f3e92a16f67a390e6ce4d03a5b852a6c96be /tools/perf/scripts/python | |
| parent | c2e1b91ed8b1b48b0aa5613c2cfd4cb3aac8d0af (diff) | |
staging: lustre: obdclass: clean function declarations in obd_config.c and class_obd.c up
We get 3 warnings when building kernel with W=1:
drivers/staging/lustre/lustre/obdclass/obd_mount.c:705:5: warning: no previous prototype for 'lustre_check_exclusion' [-Wmissing-prototypes]
drivers/staging/lustre/lustre/obdclass/obd_mount.c:1226:5: warning: no previous prototype for 'lustre_register_fs' [-Wmissing-prototypes]
drivers/staging/lustre/lustre/obdclass/obd_mount.c:1231:5: warning: no previous prototype for 'lustre_unregister_fs' [-Wmissing-prototypes]
In fact, the first function is declared in
drivers/staging/lustre/lustre/obdclass/obd_config.c,
and the other two functions are declared in
drivers/staging/lustre/lustre/obdclass/class_obd.c,
but all of these functions should be declared in
a header file, thus can be recognized in other file.
So this patch moves the declarations into
drivers/staging/lustre/lustre/include/obd_class.h.
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