diff options
author | Baoyou Xie <[email protected]> | 2016-09-23 21:13:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-09-23 19:00:44 +0200 |
commit | 252a2560903085c7d030eee070a1c15b13bac101 (patch) | |
tree | e679276b9cdf7be730144fa9329baea03395ede9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | da2c08714c94780d81780dd8918c71d491f672f4 (diff) |
staging: android: ion: mark symbols static where possible
We get 4 warnings when building kernel with W=1:
drivers/staging/android/ion/ion_carveout_heap.c:36:17: warning: no previous prototype for 'ion_carveout_allocate' [-Wmissing-prototypes]
drivers/staging/android/ion/ion_carveout_heap.c:50:6: warning: no previous prototype for 'ion_carveout_free' [-Wmissing-prototypes]
drivers/staging/android/ion/ion_of.c:28:5: warning: no previous prototype for 'ion_parse_dt_heap_common' [-Wmissing-prototypes]
drivers/staging/android/ion/ion_of.c:54:5: warning: no previous prototype for 'ion_setup_heap_common' [-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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions