]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Make function ‘ftrace_exports’ static
authorMathieu Malaterre <malat@debian.org>
Wed, 16 May 2018 19:30:12 +0000 (21:30 +0200)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 22 Dec 2018 13:21:06 +0000 (08:21 -0500)
commit8a4c0f8469690d9a593c4b7374c3f5555f942196
tree2f419a8d4bab1c5815fcd400b34c8a8783882285
parent005e665a7d62c55b3594841ebc8cb59174f2d415
tracing: Make function ‘ftrace_exports’ static

In commit df610eac17ef ("tracing: Add hook to function tracing for other
subsystems to use"), a new function ‘ftrace_exports’ was added. Since
this function can be made static, make it so.

Silence the following warning triggered using W=1:

  kernel/trace/trace.c:2451:6: warning: no previous prototype for ‘ftrace_exports’ [-Wmissing-prototypes]

Link: http://lkml.kernel.org/r/20180516193012.25390-1-malat@debian.org
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c